Fedora Linux Support Community & Resources Center
Old 9th October 2017, 11:33 PM
Roland Deschain Offline
Registered User
Join Date: Jun 2010
Posts: 12
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
File Type: txt failed.txt (81.4 KB, 14 views)
Reply With Quote
Old 10th October 2017, 06:53 AM
srakitnican Offline
Registered User
Join Date: Oct 2011
Posts: 1,577
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.
Reply With Quote

dnfsystemupgrade , f26 , fail , failing , upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

Current GMT-time: 12:51 (Wednesday, 18-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat