Major Hayden's Blog 🤠

Upgrading from Fedora 10 (Cambridge) to Fedora 11 (Leonidas)

There are two main ways to upgrade Fedora 10 (Cambridge) to Fedora 11 (Leonidas):

» What the Fedora developers suggest:

Of course, if you’re doing this on a Fedora desktop, you can use preupgrade (rather than preupgrade-cli) to upgrade with a GUI.

» The method I prefer (and it works properly on Slicehost):

At this point, you would normally just start upgrading packages, but the Fedora developers threw us a curveball. Since yum in Fedora 10 doesn’t support metalinks, your upgrades will fail with something like this:

It’s easily fixed, however. Open up /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo in your favorite text editor and change the mirrorlist URL’s like so:

Fedora Repository

Fedora Updates Repository

Once you make those changes, finish out the upgrade:

This process will take a little while to complete, but there shouldn’t be any interaction required. Once it’s done, change the mirrorlist lines back to the original values so you can benefit from the speedups provided by the metalink format.

#fedora #rpm #yum