Tuesday, June 28, 2016

Upgrading to Fedora 24

Fedora 24 is now available and today I took time to upgrade my workstation to this release.  I have to admit that I was a little lazy and did not bother to upgrade to Fedora 23, so today's task was upgrading a Fedora 22 system to Fedora 24.

I have been working at Red Hat for a long time and have been part of the Fedora Project during the entire time.  A lot of work goes in to each Fedora release and I have to say that this release is very nice and was very easy to upgrade to.  Many non-Fedora users I talk to have the impression that Fedora changes way too quickly for easy upgrades to be possible.  Well, that's probably true when you compare it to more conservative distributions.  Rather than slow things down, Fedora has built a reliable mechanism in for upgrades.  It's taken a while to evolve and I am pleased that my team has contributed a large part of that work over the years.

So, going from Fedora 22 to Fedora 24, here's all I did:
  • Back up.  Seriously.  Everyone says this, most don't do it.
  • Log in on another system and get Firefox open and irc up.  The upgrade is going to take a while and I want to be online while that happens.  Red Hat is very nice and provides me with multiple computers at my desk.
  • Choose your upgrade method.  For me, I chose the dnf system upgrade option.  This is a continuation/evolution of what used to be called fedup in previous releases (and in a way the older yum distro-sync mechanism).  I also chose to upgrade first to Fedora 23, then to Fedora 24.  While an upgrade directly to Fedora 24 would probably have worked for me, I wanted to step it up through the releases because I know that path is actually tested by other Fedora Project members.
  • Execute the upgrade to Fedora 23:
  • sudo dnf update --refresh
    sudo dnf install dnf-plugin-system-upgrade
    sudo dnf system-upgrade download --refresh --releasever=23
    sudo dnf system-upgrade reboot
  • During the reboot the system will upgrade to Fedora 23 and then reboot again.
  • Execute the upgrade to Fedora 24:
  • sudo dnf update --refresh
    sudo dnf system-upgrade download --refresh --releasever=24
    sudo dnf system-upgrade reboot
  • And during this reboot, the system will upgrade to Fedora 24 and reboot again.
That's the process.  It involves more waiting than commands.  And I got my information from here:


As with all systems, there are a handful of adjustments I had to make or tips I collected during the upgrade.  Here's how I modified the steps above:
  • During the upgrade to Fedora 24, I had to add --allowerasing to the dnf command due to some problems with third party repositories.  This did not have a negative impact on the upgrade itself, though some third party packages I had installed were removed (e.g., vlc).
  • Once in Fedora 24, I had to disable the rpmfusion-nonfree-updates repository.  I guess as of now, it does not yet exist.
  • There are some optional commands explained on the wiki page above that are generally good for housekeeping purposes, but I did not find that any of them were required.
I am using GNOME 3 on my laptop and MATE on my workstation with Fedora 24.  Why?  Well, I like being aware of the different desktop options available in our current release and maybe next week I'll move to KDE or LXDE or something like that.  I do try to give each one a week or so of me using it so I can do a variety of everyday tasks in that environment.

And Fedora 25 development is just getting started now, so if you are interested in trying Fedora 24 you should do that now because it won't be current forever.

No comments: