Skip to content

Commit 511e0a1

Browse files
Removed the extensive backup and questioning section that was previously here, removed the older releases and troubleshooting sections to place in separate article because it was referencing a lot of unsupported releases. Added a few things to expect with cosmic with the article links. (#1359)
Co-authored-by: Levi Portenier <levi@system76.com>
1 parent 9a64945 commit 511e0a1

3 files changed

Lines changed: 34 additions & 149 deletions

File tree

content/upgrade-pop.md

Lines changed: 34 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@ keywords:
1212
- Pop!_OS 20.10
1313
- Pop!_OS 21.04
1414
- Pop!_OS 21.10
15+
- Pop!_OS 22.04
16+
- Pop!_OS 24.04
17+
- COSMIC
18+
- Cosmic Desktop
1519
- LTS
1620
- Non-LTS
1721
- Upgrade
1822
- Update
1923
- Release
2024
- System76
2125
- apt
22-
- the repository 'https://us.arhive.ubuntu.com/ubuntu' does not have a Release file
26+
- the repository 'https://us.archive.ubuntu.com/ubuntu' does not have a Release file
2327
- 404 Not Found
2428

2529
facebookImage: /_social/article
@@ -30,88 +34,65 @@ section: pop
3034
tableOfContents: true
3135
---
3236

33-
## When Should I Upgrade?
37+
## What to Expect
3438

35-
Every release of Pop!\_OS is thoroughly tested and undergoes an extensive quality assurance (QA) process, including the upgrade system itself. In almost all cases, the upgrade from an existing release of Pop!\_OS to a newer release is a smooth transition that takes only an hour or so to complete (depending on download speeds and the speed of the components in the system you are upgrading).
39+
Pop!_OS 24.04 now includes the COSMIC Desktop. Some changes to expect are outlined in the following articles;
3640

37-
That being said, from time to time, unexpected complications can arise. The likelihood of complications during the upgrade process increases on systems that are:
41+
- [New keyboard shortcuts](articles/pop-cosmic-keyboard-shortcuts)
42+
- [New default Applications](/articles/default-apps)
43+
- [Desktop customization and window behavior](/articles/pop-basics)
3844

39-
- upgrading more than one release at a time
40-
- running older releases that have already reached the end-of-life period
41-
- using a large number of third-party software repositories (PPAs)
42-
43-
Before upgrading, it can be helpful to ask yourself the following environment questions:
44-
45-
1. **Do I have a backup of my data (see next section).**
46-
47-
- YES? - Proceed.
48-
- NO? - Make a Backup.
49-
50-
2. **Is this a mission critical machine?**
51-
52-
- YES? - Wait until upgrading will not stop work.
53-
- NO? - Proceed.
45+
## Upgrade Versus Fresh Installation
5446

55-
3. **Do I have a backup/alternate machine if this one goes down temporarily?**
47+
A fresh installation is recommended for any release prior to Pop!_OS 22.04. Instructions for a fresh installation can be found [here](articles/install-pop).
5648

57-
- YES? - Proceed.
58-
- NO? - Make a backup, assess your comfort level, proceed if comfortable.
49+
The likelihood of complications during the upgrade process increases on systems that are:
5950

60-
4. **How recently was this upgrade issued? Have any stability issues been reported?**
61-
62-
- YES? - Wait a week (or two), check again, then upgrade.
63-
- NO? - Proceed.
64-
65-
## Backing Up Your Data
66-
67-
**IMPORTANT NOTE:** The upgrade process will leave your files in place, but no matter which system or version you are running, we **always** recommend first creating a good backup of your files, just to be on the safe side should anything unexpected happen during the upgrade. Internet or power outages can happen to anyone.
51+
- upgrading more than one release at a time
52+
- running older releases that have already reached the end-of-life period
53+
- using a large number of third-party software repositories (PPAs)
6854

69-
Please read our article on [how to backup your files](/articles/backup-files/) for helpful instructions.
55+
## Before the Upgrade
7056

71-
## Upgrade Pop!\_OS
57+
[Back up your files](/articles/backup-files/) before beginning the upgrade. The upgrade process will leave your files in place, but no matter which system or version you are running, we always recommend creating a good backup of your files, just to be on the safe side in case anything unexpected happens during the upgrade.
7258

73-
Pop!\_OS 22.04 was released on April 25, 2022
59+
The Pop upgrade process can take up to an hour to complete depending on download speeds and the speed of the components in the system you are upgrading.
7460

75-
Pop!\_OS 21.10 was released on December 14, 2021
61+
## Upgrade Pop!_OS 22.04 to 24.04
7662

77-
Pop!\_OS 21.04 was released on June 29, 2021.
63+
Pop!_OS 22.04 can be upgraded to the next release via the Pop! Shop or by using terminal commands.
7864

79-
Pop!\_OS 20.10 was released October 23, 2020.
65+
### Pop! Shop Upgrade
8066

81-
### Upgrading Pop!\_OS to 22.04 from 20.04 or 21.10
67+
Open Pop! Shop by clicking the shopping bag icon in the application menu. Or, press the `SUPER` key and type 'pop shop' to access through the launcher.
8268

83-
**NOTE:** For all other operating system versions, refer to the instructions for [upgrading from an earlier release](#upgrading-older-releases).
69+
To begin, confirm the current installation is fully up to date. Click the icon with three stacked bars in the top right corner and select software and updates to update the existing packages.
8470

85-
First, make sure you have applied all updates to your system. You can do this through the Pop!\_Shop, or through the terminal:
71+
![Check for updates in the Pop! Shop](/images/upgrade-pop/uprade-pop2404-check-for-updates.png)
8672

87-
```bash
88-
sudo apt update
89-
sudo apt full-upgrade
90-
```
73+
Once the updates are applied, a notification should appear at the top of your screen saying that an upgrade is available. Click on this notification, or go to `Settings` -> `OS Upgrade & Recovery`. The upgrade page will display a message that Pop!_OS 24.04 is available with a `Start Upgrade` button.
9174

92-
Once the updates are applied, a notification should appear at the top of your screen saying that an upgrade is available. Click on this notification, or go to Settings -> OS Upgrade & Recovery. The upgrade page will display a message that Pop!\_OS 22.04 is available with a `Download` button.
75+
![Pop!_OS 24.04 Upgrade Dialog box which describes the COSMIC Desktop and other changes to expect after the upgrade is complete](/images/upgrade-pop/upgrade-pop2404-dialog.png)
9376

94-
If you are planning on staying on an LTS release for the time being, this is also the page where you can dismiss upgrade notifications.
77+
If you are planning on staying on the Pop!_OS 22.04 release, this is also the page where you can dismiss upgrade notifications.
9578
![Settings OS Upgrade](/images/upgrade-pop/Pop-22.04-Upgrade.png)
9679

9780
**NOTE:** Refreshing is **not** part of the upgrade process. `Refresh` will reinstall the Operating System with the version stored in Recovery, and will erase all user-installed applications.
9881

99-
1. Click the `Download` button and the download will begin. Once the download is complete, you will receive a second notification saying the upgrade is ready.
100-
101-
2. Click on the notification and your computer will restart to the upgrade screen.
102-
103-
After the upgrade is finished, you will be taken back to the login page, and voila! Your system is now running Pop!\_OS 22.04!
82+
A dialog box will open when the operating system upgrade is ready. Select `Restart and Install` to reboot the computer to Pop!_OS 24.04 with COSMIC Desktop.
10483

10584
## Terminal Upgrade
10685

107-
Use the Terminal to apply the upgrade may do so by running the following commands:
86+
Open a terminal by pressing `SUPER` + `t` and type the following command and press `Enter`:
10887

10988
```bash
11089
sudo apt update
11190
```
11291

11392
You'll be prompted to enter your system password, but when you type it, the letters won't show. Just continue typing the password and press `ENTER`.
11493

94+
Perform updates by entering the following command:
95+
11596
```bash
11697
sudo apt full-upgrade
11798
```
@@ -128,7 +109,7 @@ Once updates have been applied (including the Recovery partition), initiate the
128109
pop-upgrade release upgrade
129110
```
130111

131-
Please check the terminal window at different times during the update process to make sure you answer any prompts asking you to type `Y` or `ENTER`. Some of the prompts to expect are described below.
112+
Check the terminal window at different times during the update process to make sure you answer any prompts asking you to type `Y` or `ENTER`. Some of the prompts to expect are described below.
132113

133114
If you have 3rd party sources enabled, you will be prompted about the sources being disabled during the upgrade. Press `ENTER` to continue.
134115

@@ -144,100 +125,4 @@ Finally, you will get a notice to restart your computer to complete the upgrade.
144125

145126
---
146127

147-
Once restarted, the computer will be on the newly upgraded system! If you run into any issues, check out our [troubleshooting](#troubleshooting) section below.
148-
149-
## Repairing Upgrade Errors
150-
151-
Due to the overwhelming demand for Pop!\_OS, users may occasionally experience bandwidth issues. If you are still experiencing any connection errors after waiting a short time (15-30 minutes), please run the following commands in a terminal.
152-
153-
```
154-
sudo rm -f /etc/apt/sources.list.d/pop-os-ppa.sources
155-
systemctl restart pop-upgrade
156-
pop-upgrade release upgrade
157-
```
158-
159-
## Upgrading older releases
160-
161-
| Pop!_OS Version | Upgrade Process |
162-
| :------------------------------------------- | :------------------------------------- |
163-
| Pop!\_OS 17.10 (artful) 18.10 (cosmic), 19.04 (disco) or 19.10 (eoan) | Requires upgrading to Pop!\_OS 20.04 (focal) LTS before upgrading to the current Pop!\_OS 22.04 (jammy) |
164-
|Pop!_OS 20.10 (groovy) |Refresh the OS from a recently upgraded [recovery partition](/articles/pop-recovery), or perform a clean install using a [Live USB](/articles/pop-live-disk) containing the latest release|
165-
166-
These older Pop!\_OS releases are now unsupported and no new updates are available. After unsupported versions have been removed from the archive and mirror network, you will need to change where your system checks for un-applied updates to be able to upgrade. Open a terminal and follow the next set of instructions to upgrade from Pop!\_OS 18.10, 19.04, or 19.10.
167-
168-
### 1. Get your current system fully updated
169-
170-
```bash
171-
# change server from us.archive to old-releases
172-
sudo sed -i 's/us.archive/old-releases/g' /etc/apt/sources.list
173-
# request release files
174-
sudo apt update -m
175-
# configure any packages partially setup
176-
sudo dpkg --configure -a
177-
# fix any missing package dependency
178-
sudo apt install -f
179-
# upgrade all packages and dependencies to newest in release
180-
sudo apt full-upgrade
181-
# make sure the `pop-desktop` meta package is installed
182-
sudo apt install pop-desktop
183-
```
184-
185-
### 2. Move any PPA additions out of the way, and get all of the sources pointed at the 20.04 versions
186-
187-
```bash
188-
# create a backup directory
189-
sudo mkdir -p /etc/apt/backup
190-
# move all current PPA entries into backup directory
191-
sudo mv /etc/apt/sources.list.d/* /etc/apt/backup
192-
# add the System76 PPA back in
193-
sudo apt-add-repository -yn ppa:system76/pop
194-
# change update server back to us.archive.ubuntu.com
195-
sudo sed -i 's/old-releases/us.archive/g' /etc/apt/sources.list
196-
# change all release names to focal, the 20.04 release
197-
sudo sed -Ei 's/cosmic|eoan|disco/focal/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
198-
```
199-
200-
### 3. Now, do the upgrade
201-
202-
This will have a three phases and once the download is complete, you can't change your mind. This works from a new install of 19.04, but some packages may add complications, so make sure you have a backup of important data before moving forward. There may be a question about restarting services, and it is safe to answer "Yes". There may be some questions about using "maintainer" version of configuration files and using the that new version is also very likely what you want to do (and the default answer will work):
203-
204-
```bash
205-
# get release files
206-
sudo apt update
207-
# update the upgrade software first
208-
sudo apt install dpkg apt
209-
# upgrade all packages on system to latest release, keeping log in "upgrade.log"
210-
sudo apt full-upgrade 2>/dev/null | tee ~/upgrade.log
211-
```
212-
213-
### 4. Now put the PPAs back
214-
215-
You may want to take a look at the files that end in "list" in "/etc/apt/backup" to see if you want to enable them again by moving them back to the /etc/apt/sources.list.d/ directory.
216-
217-
### 5. After the 20.04 Pop upgrade is complete, **Reboot**
218-
219-
### 6. Run the command to upgrade to the newest release
220-
221-
```bash
222-
pop-upgrade release upgrade
223-
```
224-
225-
## Troubleshooting
226-
227-
Most upgrades proceed without a hitch, but occasionally things go wrong. If your system hangs on the upgrade process or if it reboots and won't start, then the following steps can help repair your broken OS.
228-
229-
### Stuck Upgrades
230-
231-
If your upgrade appears to hang in place for an extended period of time, click on the `Terminal` item to expand the terminal section. Check what action is available there, then complete the steps to un-hang your upgrade. For help, contact support and we'll be able to provide assistance.
232-
233-
### Broken Upgrade
234-
235-
Pop!_OS has replaced the Ubuntu upgrade tool "do-release-upgrade" in recent releases (21.04 and newer). With updates to the Pop!OS installer, you may find that either using an updated [Recovery Partition](/articles/pop-recovery/) or [Live USB](/articles/pop-live-disk/) with the desired Pop!_OS release using the "Refresh Install" option will be the fastest way to fix your install.
236-
237-
Manually fixing package issues can be hard to diagnose. Use caution when removing system packages. Removing software from PPA's may be required to allow newer packages from the base repositories to install correctly. Please follow the steps as outlined in this document about [repairing the package manager](/articles/package-manager-pop/) and/or [incomplete upgrades](/articles/pop-incomplete-upgrade/)
238-
239-
Make sure to get the package manager to a fully upgraded status before rebooting your computer. You should see this line after running all 6 of the [repair package manager](https://support.system76.com/articles/pop-incomplete-upgrade#repair-package-manager-after-failedincomplete-upgrade) commands:
240-
241-
```bash
242-
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
243-
```
128+
Once restarted, the computer will prompt to login to Pop!_OS 24.04.
57.3 KB
Loading
319 KB
Loading

0 commit comments

Comments
 (0)