Dist Upgrade

This is an old revision of the document!


Please upgrade sequentially, for example, if you are on latest on release 30, upgrade to 31 and then to 32. The first 2 weeks of a release you can do a N-2 upgrade but its not supported and should be avoided.

  • As of now you can sequentially upgrade from Release 21 to 32 without issues.
  • During step 4 you will be presented with any packages that cannot be upgraded, do NOT skip-broken, remove the packages and then re run step 4.
  • Python 2.7 is now provided with package python27, you will need to update your scripts to use the new binary (#!/usr/bin/python2.7).
    sudo dnf install python27
  • Extensions are now(r31) managed from a new application you need to install :
    sudo dnf install gnome-extensions-app
  • EarlyOOM is enabled by default on r31

Step 1: Upgrade current

You will need to upgrade all packages to current, important to update the kernel to the latest in the current release and reboot.

sudo dnf upgrade --refresh

Step 2: reboot

Reboot to make sure you are on the latest kernel.

Step 3: in place upgrade plugin

sudo dnf install dnf-plugin-system-upgrade

Step 4: Download packages

The following will download all the necessary packages and make sure it keeps them cached:

sudo dnf system-upgrade download --setopt=keepcache=1 --releasever=32

Step 5: Upgrade

The following will reboot automatically and upgrade the current installation:

sudo dnf system-upgrade reboot

Post Upgrade

Before any of the following use:

sudo dnf update

Clean up metadata

sudo dnf system-upgrade clean

Remove cached packages

sudo dnf clean packages

Broken Dependencies

sudo dnf repoquery --unsatisfied

Remove Duplicates (multiple versions)

dnf repoquery --duplicates

/home/www/sites/esgr.in/wiki/data/attic/systems/fedora.1588146840.txt.gz · Last modified: 2020/04/29 07:54 by eServices Greece