FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010

    dnf-system-upgrade to F26 failing

    I have a Thinkpad W541 that's been running F24 XFCE for a very long time. Since that's gone EOL, I decided to jump to F26. I've used dnf-system-upgrade in the past to go to F23 and to F24 without issue.

    This time, however, no such luck.

    After downloading the packages and invoking dnf-system-upgrade reboot, it would begin the boot sequence but would hang at the "Starting Switch Root..." message.

    This behavior was documented in bug report #1406829. I followed the suggestion in the report to download the SRPM for systemd and rebuild against my running F24 kernel.

    That got me past the boot freeze, but now the reboot does not seem to trigger the upgrade process...it just reboots again and loads back into my previous F24 kernel. I don't see anything obvious in the journalctl output, but I'm attaching it here anyhow.

    I'm at a loss as to how to troubleshoot from here. I've validated that my installed version of libdb (5.3.28-24) contains the "fix" for the corrupted RPM database issues.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2011

    Re: dnf-system-upgrade to F26 failing

    Hi, I never uses system-upgrade method. Although the system-upgrade is considered safer, `dnf --releasever` worked for me every time, so you can try with that. You need to either install the new Fedora keys, or use `--nogpgcheck` option, though.

    $ sudo dnf --releasever=26 --nogpgcheck upgrade
    To minimize the chance of something crashing in the middle of the upgrade you could switch to minimal target aka runlevel before doing the upgrade. A simple text mode should be enough.

    For your issue, maybe there is some service that needs to be enabled for a specific target to make system-upgrade work. Hint: The target that is used for upgrade is called `system-update.target`. `dnf-system-upgrade.service` should be an automatic requirement of that target. Here are some basics of how it works in a case you want to debug it: https://www.freedesktop.org/wiki/Sof...SystemUpdates/
    Last edited by srakitnican; 10th October 2017 at 07:02 AM.

Similar Threads

  1. 25 to 26 upgrade failing due to file confliction
    By miker107 in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 11th July 2017, 10:48 PM
  2. F25 Upgrade Failing
    By ov10fac in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 25th November 2016, 05:40 AM
  3. Help: NFS Failing (Connection refused) after Fedora 16 upgrade
    By urilabob in forum Servers & Networking
    Replies: 5
    Last Post: 9th November 2012, 09:37 AM
  4. After FC11 upgrade, software update is failing
    By roadhawg02 in forum Using Fedora
    Replies: 2
    Last Post: 13th June 2009, 04:22 AM
  5. FC3 to FC4 (yum -y upgrade is failing) !!!!
    By mrvajrala in forum EOL (End Of Life) Versions
    Replies: 4
    Last Post: 18th October 2005, 08:16 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