title | description | keywords | facebookImage | twitterImage | hidden | section | tableOfContents | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Upgrade Pop!_OS |
Get the newest version of Pop!_OS on your computer! Check out our upgrade directions.
|
|
/_social/article |
/_social/article |
false |
software |
true |
Before upgrading, it can be helpful to ask yourself the following environment questions:
-
Do I have a backup of my data (see next section).
- YES? - Proceed.
- NO? - Make a Backup.
-
Is this a mission critical machine?
- YES? - Wait until upgrading will not stop work.
- NO? - Proceed.
-
Do I have a backup/alternate machine if this one goes down temporarily?
- YES? - Proceed.
- NO? - Make a backup, assess your comfort level, proceed if comfortable.
-
How recently was this upgrade issued? Have any stability issues been reported?
- YES? - Wait a week (or two), check again, then upgrade.
- NO? - Proceed.
IMPORTANT NOTE: The upgrade process will leave your files in place, but no matter which system 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.
Please read our article on how to backup your files for helpful instructions.
Pop!_OS 21.04 was released on June 29, 2021.
Pop!_OS 20.10 was released October 23, 2020.
NOTE: For all other operating system versions scroll down to the instructions for upgrading from an earlier release
First, make sure you have applied all updates to your system. You can do this through the Pop!_Shop, or through the terminal:
sudo apt update
sudo apt full-upgrade
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 System76 upgrade package will display a message that Pop!_OS 21.04 is available with a Download button.
-
Click the Update button to update the Recovery partition.
-
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.
-
Click on the notification and your computer will restart to the upgrade screen.
After the upgrade is finished, you will be taken back to the login page, and voila! Your system is now running Pop!_OS 21.04!
Use the Terminal to apply the upgrade may do so by running the following commands:
sudo apt update
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.
sudo apt full-upgrade
Update the Recovery partition with this command:
pop-upgrade recovery upgrade from-release
Once updates have been applied (including the Recovery partition), initiate the upgrade with this command:
pop-upgrade release upgrade
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.
If you have 3rd party sources enabled, you will be prompted about the sources being disabled during the upgrade. Press Enter to continue.
Type Y and press enter when prompted about starting the upgrade.
If you have your lock screen set to enabled, you will receive a prompt about the screen being disabled during the update. Press Enter to continue.
Near the end of the upgrade process, you'll be prompted to remove obsolete packages. Type Y and press Enter when prompted.
You may receive a notice about the keyboard layout and the option to use the package maintainer's version of a certain package. If you haven't specifically made a change to a configuration file in your system, go ahead and press Y to use the package maintainer's version. If you have made a change you would like to keep, press N to use the local version, or press D to inspect the changes and see which version you would like to use.
Finally, you will get a notice to restart your computer to complete the upgrade. Make sure all files are saved and any open programs are closed. You can reboot via the terminal by typing [sudo] reboot
and pressing Enter. If you prefer, you can also use the graphical interface to reboot.
Once restarted, the computer will be on the newly upgraded system! If you run into any issues, check out our troubleshooting section below.
Upgrading Pop!_OS 17.10 (artful) 18.10 (cosmic), 19.04 (disco) or 19.10 (eoan) will require upgrading to Pop!_OS 20.04 (focal) LTS before upgrading to the current Pop!_OS 21.04 (hirsute).
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.
sudo sed -i 's/us.archive/old-releases/g' /etc/apt/sources.list
sudo apt update -m
sudo dpkg --configure -a
sudo apt install -f
sudo apt full-upgrade
sudo apt install pop-desktop
sudo mkdir -p /etc/apt/backup
sudo mv /etc/apt/sources.list.d/* /etc/apt/backup
sudo apt-add-repository -yn ppa:system76-dev/stable
sudo apt-add-repository -yn ppa:system76/pop
sudo sed -i 's/old-releases/us.archive/g' /etc/apt/sources.list
sudo sed -Ei 's/cosmic|eoan|disco/focal/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
Note: to change 'disco' to your release that you are trying to update from
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):
sudo apt update
sudo apt install dpkg apt
sudo apt full-upgrade | tee ~/upgrade.log
You will want to take a look at the files that end in "list" in "/etc/apt/backup" to see if you want to enable that again by moving them back to the /etc/apt/sources.list.d/ directory.
pop-upgrade release upgrade
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.
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 unhang your upgrade. For help, contact support and we'll be able to provide assistance.
If the upgrade fails it will most likely be due to a package manager issue. First, run an alternative upgrade manager with this command, and see if it will manage further:
do-release-upgrade
If it fails again, the package manager will need to be repaired manually. Please follow the steps as outlined in this document about repairing the package manager
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 commands:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.