Upgrading Fedora

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. 

 

NOTE! This site uses cookies and similar technologies.

If you not change browser settings, you agree to it. Learn more

I understand