FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Posts
    208

    how to pull back upgrade

    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:
    ....
    Upgraded:
    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

    Complete!

  2. #2
    Join Date
    Oct 2011
    Posts
    1,629

    Re: how to pull back upgrade

    You can try with something like `sudo dnf --releasever=26 distro-sync`.

  3. #3
    Join Date
    Aug 2008
    Posts
    208

    Re: how to pull back upgrade

    thank you, srakitnican, for the reply

    It worked,

  4. #4
    Join Date
    Nov 2009
    Posts
    160

    Re: how to pull back upgrade

    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.

  5. #5
    Join Date
    Oct 2007
    Location
    Freedonia
    Age
    68
    Posts
    3,036

    Re: how to pull back upgrade

    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

    Code:
    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.
    Registered Linux user #470359 and permanently recovered BOFH.

    Any advice in this post is worth exactly what you paid for it.

Similar Threads

  1. Help -can't upgrade to 15 need old 14 repos back
    By davidlondonuk in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 26th May 2011, 09:25 AM
  2. Replies: 0
    Last Post: 25th August 2009, 02:22 PM
  3. Rolling back a yum upgrade
    By Shaggs in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 9th November 2007, 12:26 PM
  4. FC5 upgrade, point back to existing /usr/local/?
    By bturnip in forum EOL (End Of Life) Versions
    Replies: 2
    Last Post: 23rd June 2006, 06:38 PM
  5. FC4 upgrade changed my login screen, how do I get it back?
    By jesusphreak in forum Using Fedora
    Replies: 6
    Last Post: 25th June 2005, 04:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •