F22: Interrupted system update

Ed Greshko ed.greshko at greshko.com
Tue Oct 27 12:27:25 UTC 2015



On 10/27/2015 06:58 PM, Germán A. Racca wrote:
> 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? 

I'd run into a similar situation like that in the past and that is what
I did.  Just to be doubly sure I re-installed the current version of the
package after erasing the older version. 

-- 
In reality, some people should stick to running Windows and others
should stay away from computers altogether.


More information about the users mailing list