View Full Version : [SOLVED] how to pull back upgrade

19th September 2017, 05:42 PM
How to pull back upgrade from fedora 27 beta back to fedora 26

I tried to upgrade to fedora 27 beta use upgrade as root
Now when I boot the machine it is still f26,
uname -a:
Linux codelion 4.12.11-300.fc26.x86_64 #1 SMP Thu Sep 7 18:32:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

but when I dnf update as root, I could tell it did update the f27
dnf update:
anaconda.x86_64 27.20.1-4.fc27
anaconda-core.x86_64 27.20.1-4.fc27
anaconda-gui.x86_64 27.20.1-4.fc27
anaconda-tui.x86_64 27.20.1-4.fc27
anaconda-widgets.x86_64 27.20.1-4.fc27
gawk.x86_64 4.1.4-7.fc27
mpg123-libs.x86_64 1.25.6-1.fc27
selinux-policy.noarch 3.13.1-283.3.fc27
selinux-policy-targeted.noarch 3.13.1-283.3.fc27
shared-mime-info.x86_64 1.9-1.fc27


29th September 2017, 10:50 AM
You can try with something like `sudo dnf --releasever=26 distro-sync`.

29th September 2017, 09:11 PM
thank you, srakitnican, for the reply

It worked,

9th October 2017, 01:48 AM
You should note that uname tells you what kernel is currently running , it does NOT tell you what distro version you are on.

What you saw was that it last booted using the old fed 26 kernel (for whatever reason). That does not mean you are not running the fed 27 versions of all the packages.

9th October 2017, 02:48 AM
I learned, some time ago, that programs such as dnf don't actually look at /etc/fedora-release, they find out what version of fedora-release.noarch.rpm you have installed. A bit weird, but true. And, if an incomplete upgrade leaves two versions listed in its database, it will use the first one it finds, which will be the earliest of them. Using

sudo dnf list installed fedora-release.noarch

will tell you if that's happened and if so, you can use either dnf or rpm to remove whichever one doesn't belong.