F32 yum update giving glib2 conflicts between glib2-2.64.6-1.fc32.i686 and glib2-2.64.5-1.fc32.x86_64

,

I have a pretty normal Fedora 32 desktop system I’ve used for years. I do have some non-standard repos like ‘negativo17’ (for steam), ‘skype’ and ‘remi’ but I don’t think they impact this simple situation involving ‘updates’. This has been happening for a week or so, I’ve been hoping it would go away. I’ve updated every package except this on my system by using ‘dnf update --exclude=glib2’ successfully, now this is the only one that’s left and is giving an error.

$ dnf clean all
$ dnf update
 Problem: cannot install the best update candidate for package php-pecl-zip-1.19.0-1.fc32.remi.7.4.x86_64
  - nothing provides libzip(x86-64) >= 1.7.3 needed by php-pecl-zip-1.19.1-1.fc32.remi.7.4.x86_64
================================================================================
 Package          Arch       Version                     Repository        Size
================================================================================
Upgrading:
 glib2            i686       2.64.6-1.fc32               updates          2.7 M
Skipping packages with broken dependencies:
 php-pecl-zip     x86_64     1.19.1-1.fc32.remi.7.4      remi-modular      64 k

Transaction Summary
================================================================================
Upgrade  1 Package
Skip     1 Package

Total download size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
glib2-2.64.6-1.fc32.i686.rpm                    249 kB/s | 2.7 MB     00:11    
--------------------------------------------------------------------------------
Total                                           236 kB/s | 2.7 MB     00:11     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/doc/glib2/NEWS from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/locale/hr/LC_MESSAGES/glib20.mo from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/locale/pt/LC_MESSAGES/glib20.mo from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gapplication.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gdbus.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gio-querymodules.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gio.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/glib-compile-schemas.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gsettings.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64

Aside from the php-pecl-zip problem, which is annoying, the glib2 one has me concerned. What can I do to resolve the conflict?

1 Like

Fix priority:

sudo dnf config-manager --save --setopt=remi-\*.priority=100

And check the output:

sudo dnf remove glib2.i686

Thanks vgaetera … I’m not sure what you’re aiming for, since the glib2 packages in my OP were not from remi, but here you go:

# sudo dnf config-manager --save --setopt=remi-\*.priority=100
# sudo dnf remove glib2.i686
Dependencies resolved.
================================================================================
 Package              Arch   Version                             Repo      Size
================================================================================
Removing:
 glib2                i686   2.64.5-1.fc32                       @updates  13 M
Removing dependent packages:
 at-spi2-core         i686   2.36.1-1.fc32                       @updates 522 k
 atk                  i686   2.36.0-1.fc32                       @fedora  1.3 M
 dbus-glib            i686   0.110-7.fc32                        @fedora  388 k
 dconf                i686   0.36.0-1.fc32                       @fedora  345 k
 gamin                i686   0.1.10-36.fc32                      @fedora  451 k
 gd                   i686   2.3.0-2.fc32                        @updates 422 k
 gdk-pixbuf2          i686   2.40.0-2.fc32                       @fedora  2.5 M
 gstreamer1           i686   1.16.2-2.fc32                       @fedora  4.8 M
 gstreamer1-plugins-base
                      i686   1.16.2-3.fc32                       @updates 6.9 M
 gtk2                 i686   2.24.32-7.fc32                      @fedora   14 M
 gtk3                 i686   3.24.23-1.fc32                      @updates  20 M
 libappindicator      i686   12.10.0-28.fc32                     @updates 105 k
 libcroco             i686   0.6.13-3.fc32                       @fedora  361 k
 librsvg2             i686   2.48.8-1.fc32                       @updates  11 M
 libsoup              i686   2.70.0-1.fc32                       @fedora  1.2 M
 pango                i686   1.44.7-2.fc32                       @fedora  864 k
 qt                   i686   1:4.8.7-55.fc32                     @updates  18 M
 qt-mobility          i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora    0  
 qtwebkit             i686   2.3.4-29.fc32                       @fedora   34 M
 sane-backends-drivers-cameras
                      i686   1.0.31-3.fc32                       @updates  52 k
 sni-qt               i686   0.2.7-0.4.20170217.fc32             @fedora  139 k
 steam                i686   1.0.0.66-3.fc32                     @fedora-steam
                                                                          2.9 M
Removing unused dependencies:
 alsa-plugins-pulseaudio
                      i686   1.2.2-1.fc32                        @fedora  127 k
 alsa-plugins-pulseaudio
                      x86_64 1.2.2-1.fc32                        @fedora  121 k
 at-spi2-atk          i686   2.34.2-1.fc32                       @fedora  281 k
 cairo                i686   1.16.0-8.fc32                       @updates 1.9 M
 cairo-gobject        i686   1.16.0-8.fc32                       @updates  35 k
 colord-libs          i686   1.4.4-4.fc32                        @fedora  889 k
 dbusmenu-qt          i686   0.9.3-0.22.20160218.fc32            @fedora  221 k
 gamemode             i686   1.6-1.fc32                          @updates 267 k
 gamemode             x86_64 1.6-1.fc32                          @updates 287 k
 gdk-pixbuf2-modules  i686   2.40.0-2.fc32                       @fedora  300 k
 glib-networking      i686   2.64.3-1.fc32                       @updates 569 k
 gnome-shell-extension-gamemode
                      noarch 1-3.fc32                            @fedora   46 k
 graphene             i686   1.10.2-1.fc32                       @updates 183 k
 harfbuzz             i686   2.6.4-3.fc32                        @fedora  1.8 M
 inih                 i686   49-1.fc32                           @updates  25 k
 inih                 x86_64 49-1.fc32                           @updates  25 k
 json-glib            i686   1.4.4-4.fc32                        @fedora  529 k
 libdbusmenu          i686   16.04.0-15.fc32                     @fedora  560 k
 libdbusmenu-gtk2     i686   16.04.0-15.fc32                     @fedora  100 k
 libdbusmenu-gtk3     i686   16.04.0-15.fc32                     @fedora  100 k
 libepoxy             i686   1.5.4-2.fc32                        @fedora  1.1 M
 libgphoto2           i686   2.5.25-1.fc32                       @updates 5.8 M
 libgusb              i686   0.3.5-1.fc32                        @updates 128 k
 libindicator         i686   12.10.1-17.fc32                     @fedora  215 k
 libnsl               i686   2.31-4.fc32                         @updates 160 k
 libraqm              i686   0.7.0-5.fc32                        @fedora   24 k
 libva                i686   2.7.1-1.fc32                        @updates 304 k
 libxcrypt-compat     i686   4.4.17-1.fc32                       @updates 222 k
 qt-mobility-bearer   i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora   53 k
 qt-mobility-common   i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  115 k
 qt-mobility-connectivity
                      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  676 k
 qt-mobility-feedback i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  160 k
 qt-mobility-gallery  i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  550 k
 qt-mobility-location i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  2.0 M
 qt-mobility-multimediakit
                      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  1.1 M
 qt-mobility-pim      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  3.3 M
 qt-mobility-publishsubscribe
                      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  298 k
 qt-mobility-sensors  i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  474 k
 qt-mobility-serviceframework
                      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  499 k
 qt-mobility-systeminfo
                      i686   1.2.2-0.37.20140317git169da60c.fc32 @fedora  691 k
 qt-x11               i686   1:4.8.7-55.fc32                     @updates  37 M
 rest                 i686   0.8.1-7.fc32                        @fedora  194 k

Transaction Summary
================================================================================
Remove  65 Packages

Freed space: 197 M
Is this ok [y/N]: 

I presume you don’t actually mean me to uninstall glib2 :stuck_out_tongue:

After the priority change for remi, I still get the same glib2 conflict from updates:

# dnf update
Remi's Modular repository - Fedora 32 - x86_64  110  B/s | 3.5 kB     00:32    
Dependencies resolved.

 Problem: cannot install the best update candidate for package php-pecl-zip-1.19.0-1.fc32.remi.7.4.x86_64
  - nothing provides libzip(x86-64) >= 1.7.3 needed by php-pecl-zip-1.19.1-1.fc32.remi.7.4.x86_64
================================================================================
 Package          Arch       Version                     Repository        Size
================================================================================
Upgrading:
 glib2            i686       2.64.6-1.fc32               updates          2.7 M
Skipping packages with broken dependencies:
 php-pecl-zip     x86_64     1.19.1-1.fc32.remi.7.4      remi-modular      64 k

Transaction Summary
================================================================================
Upgrade  1 Package
Skip     1 Package

Total size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] glib2-2.64.6-1.fc32.i686.rpm: Already downloaded                     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/doc/glib2/NEWS from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/locale/hr/LC_MESSAGES/glib20.mo from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/locale/pt/LC_MESSAGES/glib20.mo from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gapplication.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gdbus.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gio-querymodules.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gio.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/glib-compile-schemas.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
  file /usr/share/man/man1/gsettings.1.gz from install of glib2-2.64.6-1.fc32.i686 conflicts with file from package glib2-2.64.5-1.fc32.x86_64
1 Like

Apparently removing this package is not an option.
It looks like the cause of the issue is due to some problem with metadata sync/update.
It should be resolved as long as the i686 and x86_64 packages have the same version.

sudo dnf clean all
sudo dnf --refresh upgrade

Also list available versions and verify priorities:

sudo dnf --showduplicates list php-pecl-zip
sudo dnf config-manager --dump remi\*,fedora,updates | grep -e ^= -e ^priority

I would suggest an update to glib2. My system shows both packages to have the same version.
glib2-2.64.6-1.fc32.i686
glib2-2.64.6-1.fc32.x86_64
I have installed steam which installed a lot of the i686 packages including glib2-i686 and it seems you might have as well.
Your system appears to be complaining about a file mismatch as a result of the version mismatch between the i686 and the x86_64 versions of the package.

The clean all and --refresh upgrade steps led to the same glib conflict as before.

# sudo dnf --showduplicates list php-pecl-zip
Last metadata expiration check: 0:20:16 ago on Mon 16 Nov 2020 09:43:58 +07.
Installed Packages
php-pecl-zip.x86_64             1.19.0-1.fc32.remi.7.4             @remi-modular
Available Packages
php-pecl-zip.x86_64             1.19.0-1.fc32.remi.7.4             remi-modular 
php-pecl-zip.x86_64             1.19.1-1.fc32.remi.7.4             remi-modular 
[root@uberneek ~]# dnf config-manager --dump remi\*,fedora,updates | grep -e ^= -e ^priority
================================= repo: fedora =================================
priority = 99
================================== repo: remi ==================================
priority = 99
============================= repo: remi-debuginfo =============================
priority = 100
============================== repo: remi-glpi91 ===============================
priority = 100
============================== repo: remi-glpi92 ===============================
priority = 100
============================== repo: remi-glpi93 ===============================
priority = 100
============================== repo: remi-glpi94 ===============================
priority = 100
============================== repo: remi-modular ==============================
priority = 100
=========================== repo: remi-modular-test ============================
priority = 100
=============================== repo: remi-php74 ===============================
priority = 100
========================== repo: remi-php74-debuginfo ==========================
priority = 100
============================ repo: remi-php74-test =============================
priority = 100
======================= repo: remi-php74-test-debuginfo ========================
priority = 100
=============================== repo: remi-test ================================
priority = 100
========================== repo: remi-test-debuginfo ===========================
priority = 100
================================ repo: updates =================================
priority = 99

Thank you @computersavvy… I had not actually noticed that it’s complaining about the i686 and x86_64 packages. I think you’re right, it’s steam that pulled in the i686 version and nothing serious on my system needs it, so I uninstalled the glib2.i686 package (which took out steam etc) and tried reinstalling steam and hit the same conflict … but here’s a thing:

# rpm -q glib2
glib2-2.64.6-1.fc32.x86_64
glib2-2.64.5-1.fc32.x86_64

So I had two versions of the 64 bit glib2 package on my system! The conflict was because it was trying to install the more recent 2.64.6 i686 package, but it was conflicting with the older 2.64.5 x64 package.

Solution:
# dnf remove glib2-2.64.5-1.fc32.x86_64

dnf install steam now succeeds and installs the i686 version OK:

# rpm -q glib2
glib2-2.64.6-1.fc32.x86_64
glib2-2.64.6-1.fc32.i686

I can see back in October that the more recent x64 package was installed, but no idea why the older 2.64.5 one wasn’t uninstalled at that time :confused:

2020-10-08T16:45:21Z SUBDEBUG Upgrade: glib2-2.64.6-1.fc32.x86_64

Never mind, all’s well that ends well! Thank you for the responses.

2 Likes

not sure if i am in the right spot but i am trying to get a lib32 gnutls to work, more specifically got a game. i am not sure if because Lutris is not seeing the files or if something is not linked right. this file i was pointed too, to install was gnutls-3.6.15-1.fc33.i686.rpm and my system already has it.

@hungamlunix86 this probably isn’t the right thread for you, but I’ll offer some advice. You are not specific as to your problem, “get a lib32 gnutls to work” doesn’t tell us what you have tried, if you are seeing any specific error messages, etc. Is it Lutris itself that is failing to load at all, or is something erroring once in Lutris and trying to install or run the game? One trick you can use when dealing with Linux libraries is the ldd command … find the executable you’re trying to run and type ldd -vv /path/to/executable … it should list all the libraries it’s trying to link to, and show ‘Not found’ for any that aren’t found on your system. If it’s while in Lutris, try opening a shell, using ps -aef | grep lutris or similar to find the PID of the running lutris program, then strace -p 1234 where 1234 is the PID of lutris. It will dump lots of low level stuff and you may be able to find a Not found kind of error in there somewhere. If you don’t get anywhere, I suggest you start a completely new thread, with anything you found out through these steps, since this is a very different question to my original post. Good luck!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.