Ask Your Question
0

dnf update error on glib2

asked 2018-05-21 16:56:41 -0600

SteveEbey73701 gravatar image

The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/share/glib-2.0/codegen/pycache/codegenmain.cpython-36.opt-1.pyc conflicts between attempted installs of glib2-devel-2.56.1-2.fc28.i686 and glib2-devel-2.56.1-2.fc28.x8664 file /usr/share/glib-2.0/codegen/pycache/codegenmain.cpython-36.pyc conflicts between attempted installs of glib2-devel-2.56.1-2.fc28.i686 and glib2-devel-2.56.1-2.fc28.x8664

any ideas? I considered removing glib2-devel, but it takes away a large number of dependent files, so I did not want to do that. Does anyone else have this same issue? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-22 01:00:56 -0600

villykruse gravatar image

It should not have a lot of dependent files, but you probably saw the effect of autoremove.

sudo dnf remove --noautoremove glibc-devel.i686

Also run

dnf mark install '*'

which marks every package as user installed, and should not be removed by autoremove.

edit flag offensive delete link more

Comments

still tries to remove 186 files totalling 644m if I try to remove glib2-devel

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-05-22 07:33:03 -0600 )edit

If you remove glib2-devel.i686 it should only remove development packages used for compiling 32-bit programs. If you need to compile a lot of 32-bit programs, you may need to wait for the bug to be fixed, so you can upgrade the 32-bit development libraries.

villykruse gravatar imagevillykruse ( 2018-05-22 09:05:43 -0600 )edit

removed the .i686, took away 3 other dependencies, and let me do the update of the rest. When i try to install the glib2-devel.i686 I get the conflict error again, so will just wait.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-05-22 11:55:10 -0600 )edit
colinwor gravatar imagecolinwor ( 2018-05-22 13:32:56 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-05-21 16:56:41 -0600

Seen: 288 times

Last updated: May 22 '18