Skip to main content

Upgrading Fedora

20
Aug, 2017

Fedora 29 was recently released.  Sometimes its not a bad option to reinstall, but if you don't want to reinstall but do want the new release, dnf-pluging-system-upgrade can assist and make it a seemless operation.

Follow these instructions.

 1. Update your Installation Packages

First of all, update your current release and reboot when its done:

sudo dnf -y upgrade --refresh

2.  DNF System Upgrade Plugin

Install the dnf upgrade plugin:

sudo dnf -y install dnf-plugin-system-upgrade

3.  Download the update packages.

If you're release version is different than this command line, just change the "releasever=" option to whatever you would like to upgrade to.

sudo dnf system-upgrade download --refresh --releasever=29

To save these changes, press <esc> and then <:> <wq>.  These are vi's sequence for exiting the insert mode, writing and quiting.

Restart the network to effect these changes...

sudo service network restart

4.  Upgrade

Now run the upgrade process. Your computer will reboot and perform the upgrade.

sudo dnf system-upgrade reboot

5.  Configuration and Settings

You might need to do some updates on system settings and config files.

To check broken dependencies:

sudo dnf repoquery --duplicated

To fix broken dependencies:

sudo dnf distro-sync (--allowerasing optional)

To remove packages no longer in use:

sudo dnf autoremove

To fix a corrupt RPM database:

sudo rpm --rebuild

 

That's it. 

 

Super User

Popular Articles

floss

Open Source Software

There is little doubt that computers play a major role in all spheres of soci...
pmbok prince

PMBOK or Prince 2

Since the mid 1980’s, organizations began to require project managers to be c...

Managing Change

An organisation can be defined as a living organism where individuals systema...