Ask Your Question
1

"conflicts with file from package" while updating on fedora 28

asked 2018-08-13 01:14:17 -0600

heyjojo gravatar image

My fedora 28 replace on 64-bit desktop.
After trying to update: dnf update.
I have an error: "Error: Transaction check error" and list of conflicts with message: "conflicts with file from package".
For example:

  • file /usr/share/doc/glibc/INSTALL from install of glibc-2.27-30.fc28.i686 conflicts with file from package glibc-2.27-19.fc28.x86_64
  • file /usr/share/doc/glibc/NEWS from install of glibc-2.27-30.fc28.i686 conflicts with file from package glibc-2.27-19.fc28.x86_64
  • file /usr/share/licenses/glibc/LICENSES from install of glibc-2.27-30.fc28.i686 conflicts with file from package glibc-2.27-19.fc28.x86_64
  • file /usr/share/gcc-8/python/libstdcxx/v6/pycache/printers.cpython-36.opt-1.pyc from install of libstdc++-8.1.1-5.fc28.i686 conflicts with file from package libstdc++-8.1.1-1.fc28.x86_64
  • file /usr/share/man/man5/cert9.db.5.gz from install of nss-3.38.0-1.0.fc28.i686 conflicts with file from package nss-3.37.3-1.1.fc28.x86_64

How to fix it? Delete old files?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-08-13 02:46:00 -0600

villykruse gravatar image

Delete old files would not fix anything. rpm and dnf does not look at all on which files are found on the disk, but on what is recorded in the database of rpm.

To start with, run

dnf update glibc

and show us everything that is reported when you run that command. Edit your question and append that information.

If for some reason the update will update only glibc.i686 and not glibc.x86_64 we need to know why not. The only thing we can see at the moment is that the 32bit version is selected for updating and the 64bit version is not selected. Same goes for a number of other packages.

Also show the output of dnf repolist.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-08-13 01:14:17 -0600

Seen: 390 times

Last updated: Aug 13 '18