I am running a laptop, a desktop and a home server on Fedora Linux. This week I upgraded all machines from Fedora 29 to Fedora 30. The upgrades were quite uneventful. Here is what I learned.

The first thing I tried was upgrading using the gnome software store on my desktop. After this failed because of some rpm error, I started a terminal and did the update from there. It’s easy and very straightforward.

By the way: You can do this from a terminal running in X11 or Wayland – the first commands do only prepare your system while the actual upgrade runs after a reboot.

How to upgrade from the command line

First thing to do is to update the currently installed system to the latest version using this command:

sudo dnf upgrade --refresh

Then you need to install a package:

sudo dnf install dnf-plugin-system-upgrade

After this you download the new packages for the release you want to upgrade to. In my example this is Fedora Linux version 30:

sudo dnf system-upgrade download --releasever=30 -y

Mind the little -y at the end of the line. During installation there are several new GPG keys to be installed. The -y parameter answers all dialog questions with “yes”, so you are not asked each time a decision has to be made. If you want to be in full control, leave the -y away.

Finally, when all packages were downloaded and if the system is ready for upgrade, you get this message:

Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
To remove cached metadata and transaction use 'dnf system-upgrade clean'

Time to reboot the system:

sudo dnf system-upgrade reboot

Your computer restarts now. You will see the upgrade progress on your boot screen. This will take a while, depending on your system.

What I learned

First of all: The upgrade was amazingly easy.

One hickup happened on my desktop where a broken Brave browser repository blocked the upgrade. I had to delete the repo-file from /etc/yum.repos.d/ .

The second problem I had was that my encrypted dns setup did not work anymore. If you are using stubby on your machine then check my article on this.

Finally I had to learn, that several of my gnome addons are not longer compatible with Gnome 3.32.1.