Re: F22: Interrupted system update

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

 



Germán A. Racca writes:

Hi guys, I have this situation: I was updating my Fedora 22 at the university, but there was a power outage and the update didn't finish. Hopefully, I was able to boot the machine and even to login into Gnome, but now it is impossible to continue with the update using dnf upgrade.

I tried package-cleanup --cleandupes, but it didn't work because it wanted to remove systemd and dnf, which are protected packages and are duplicated.

Running dnf remove $(dnf repoquery --duplicated --latest-limit -1 -q) also gives the same result: "Error: The operation would result in removing the following protected packages: systemd, dnf".

My question is: can I safely remove the lower versions of systemd and dnf with rpm -e and then proceed with cleaning duplicates and continue to update in the usual way, or how should I proceed?

Before you can even think of repairing the software package set, you need to verify the integrity of your filesystem and the RPM database.

touch /forcefsck

then reboot. The reboot will fsck all your partitions. Trying to fix your software packages is a wasted effort, if you discover later that your filesystem is corrupt.

After the reboot, run

rpm --rebuilddb

to rebuild the rpm database. Afterwards, run rpm -V against the NEWER version of systemd and dnf packages. Only if rpm -V gives a clean bill of health would it be safe to forcefully remove the older versions from systemd and dnf.

Attachment: pgpktQqzxnZGE.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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