Re: Cleaning up after an aborted upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Sieb answered my plea for help. Thanks!

> First do "rpm --rebuilddb" to make sure the rpm database is consistent.
> Run "systemd-cat --version" to make sure you're currently running 229.
> If so, then do "rpm -e systemd-222-14".  Then try the upgrade again.

I was running 229 (fc24) as you expected. I then did as you suggested. 
The upgrade seemed to complete successfully.

> When the upgrade completes and if you still have extra packages, you can
> try "dnf distro-sync" to clean it up.  Make sure you carefully check the
> list of packages that it's going to remove.

After system-upgrade, I still have 4599 total packages, 1233 of which 
are fc23. distro-sync reports 40 "requires" or "conflicts" and suggests 
--allowerasing. Trying that reports,

Install       7 Packages
Upgrade       1 Package
Remove     1242 Packages
Downgrade  2002 Packages

It seems to be trying to put everything back to F23. "rpm -qa|sort" 
shows that almost all of the fc23 packages are paired with fc24 
packages, both of which are installed. Is there any reason I can't just 
remove the redundant packages?

> To find out what happened during the failed upgrade, run "dnf
> system-upgrade log" to get a list of upgrade attempts.  Then run "dnf
> system-upgrade log <number>" to get the log.

# dnf system-upgrade log
The following boots appear to contain upgrade logs:
-- no logs were found --
-- 
Dave Close
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux