Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DNF interrupted while upgrading packages, now can't finish upgrade

My konsole segfaulted while DNF was doing a package upgrade and now there are a bunch of duplicate packages installed. When doing another dnf upgrade I get:

   Running transaction test

Error: Transaction check error:
  file /usr/share/man/man1/trust.1.gz from install of p11-kit-0.23.1-2.fc22.i686 conflicts with file from package p11-kit-0.23.1-1.fc22.x86_64
  file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.23.1-2.fc22.i686 conflicts with file from package p11-kit-0.23.1-1.fc22.x86_64
  file /usr/share/man/man8/p11-kit.8.gz from install of p11-kit-0.23.1-2.fc22.i686 conflicts with file from package p11-kit-0.23.1-1.fc22.x86_64

Error Summary
-------------

Running yum-complete-transaction tells me that there are no transactions found. Running package-cleanup --clean-dupes will remove the dupes, but will also remove all of the packages that depend on the upgraded packages which is a lot....

Is there a way to get DNF back to a workable state?