Re: Cleaning up after an aborted upgrade

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

 



On 09/06/2016 04:32 PM, CLOSE Dave wrote:
# dnf --allowerasing -y system-upgrade download --releasever 24
Last metadata expiration check: 0:23:15 ago on Tue Sep  6 15:53:47 2016.
Dependencies resolved.
Error: The operation would result in removing the following protected
packages: systemd.

Evidently, there are two systemd packages installed:

# rpm -q systemd
systemd-222-14.fc23.x86_64
systemd-229-13.fc24.x86_64

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.

No new kernel was installed and the machine is running fine as F23. But
I'd like to get it upgraded...

I tried using "dnf history rollback" but that didn't work, reporting "A
transaction cannot be undone". Since dnf won't erase the extra stuff, I
can probably do it with something like, "rpm erase --force $(rpm
-qa|grep fc24)" but that seems iffy. Better suggestions are very welcome.

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.

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