Ask Your Question
1

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

asked 2015-07-14 08:48:44 -0500

Glanzick gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

That was close to what I had to do:

Installed Packages
p11-kit.i686        0.23.1-1.fc22        @System
p11-kit.x86_64    0.23.1-1.fc22       @System
p11-kit.x86_64    0.23.1-2.fc22        @System    
Available Packages
p11-kit.i686       0.23.1-2.fc22   updates

Removing the extra (old) x86_64 package allowed me to upgrade the i686 package and finish the upgrade.

Glanzick gravatar imageGlanzick ( 2015-07-14 11:28:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-07-14 10:34:50 -0500

aeperezt gravatar image

updated 2016-04-04 15:27:09 -0500

florian gravatar image

Remove the i686 package so it can complete update and avoid conflicts.

edit flag offensive delete link more

Comments

how can the i686 be removed?

JaimeTun561 gravatar imageJaimeTun561 ( 2016-10-25 14:27:11 -0500 )edit

sudo dnf remove p11-kit.i686 or more generally speaking dnf remove packagename.i686

florian gravatar imageflorian ( 2016-10-25 15:04:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-07-14 08:48:44 -0500

Seen: 5,673 times

Last updated: Apr 04 '16