Fedora – 26-27 DNF Upgrade Woes, and a Workaround.. — 4 Comments

  1. Sunday, Nov. 25, 2017

    Hello from France!

    Many thanks for your help!

    Trying to upgrade a laptop from fedora 26 to 27 by the method using “dnf system-upgrade”, I got exactly the same bug as you describe, and thanks to your method, I could eventually ugrade all packages from F26 to F27 and safely reboot under F27 with all my previous system configuration & home files preserved.

    In upgrade phase one,

    dnf system-upgrade download –refresh –releasever=27 –allowerasing –nogpgcheck –best -y ,

    all required F27 packages were correctly downloaded, but upon reboot, the laptop refused to boot under the (26 to 27) upgrade process, and rebooted a second time under F26.

    I have one question just for curiosity: how did you manage catch the error message during the first unsuccessful reboot, messages like
    dnf[914]: 7f83cccb8000-7f83cccf8000 rw-p 00000000 00:00 0
    dnf[91reboot: Restarting system

    I have two minor remarks
    – the proper rpm commands are with double dash “–” before force and nodeps:
    rpm -ivh kernel*rpm –nodeps –force
    rpm -Uvh *rpm -–nodeps -–force

    – I actually did not “copy” all *rpm files gathered from various sub-directories in /var/lib/dnf/system-upgrade, to a single temporary directory, I simply created a symbolic links (“ln -s”) from all *rpm files to the same temporary directory.
    And I worked with rpm -[iU]vH in this directory on the huge collection of symbolic links, instead of real copies of the files: in my collection of rpms, the total disk space is 2.7 Gbytes!

    Thanks again, I hope that your message will help many linux aficionados using fedora 26!

    Emmanuel Bigler

  2. Additional remarks:

    Actually I cut-pasted Robert’s commands from the original post to enter them into a terminal,
    # rpm -ivh kernel*rpm –nodeps –force
    # rpm -Uvh *rpm –nodeps –force

    and I realize that double dashes were certainly there in the original post, but were converted into a single dash by my cut-past action!
    Another mystery of computer science unsolved, for which a workaround was easy to find 😉


    • This is another WordPress problem.. the double-dash typed in using the editor gets ‘merged’ into one when the page is ‘published’, whichever font is used.. And the ‘code’ tag does not work in the main pages, but does in these comments!
      I did some more tests, and the ‘code’ tag does work, but only if you edit the page in raw html! I’ve updated the page to show this properly, now..

  3. Thanks Robert!
    I’m familiar with double dashes merged into a single long one in LaTeX code.

    I hope that all Fedora users facing the same problem of F26->F27 dnf upgrade can take benefit of your workaround which is versy simple to apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.