Problem with installed package gdk-pixbuf2-xlib-2.36.12-6.el8_10.x86_64 during dnf update

I see this issue is also on RockyLinux. Probably from someone who upgraded from Centos7 like me.

dnf clean all didn’t solve for me.

This is the error.

Error: 
 Problem: package gdk-pixbuf2-xlib-2.36.12-6.el8_10.x86_64 from @System requires gdk-pixbuf2(x86-64) = 2.36.12-6.el8_10, but none of the providers can be installed
  - cannot install both gdk-pixbuf2-2.36.12-7.el8_10.x86_64 from baseos and gdk-pixbuf2-2.36.12-6.el8_10.x86_64 from @System
  - cannot install both gdk-pixbuf2-2.36.12-7.el8_10.x86_64 from baseos and gdk-pixbuf2-2.36.12-6.el8_10.x86_64 from baseos
  - cannot install the best update candidate for package gdk-pixbuf2-2.36.12-6.el8_10.x86_64
  - problem with installed package gdk-pixbuf2-xlib-2.36.12-6.el8_10.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Here are my enabled packages.

# dnf repolist --enabled
repo id                                                                                repo name
appstream                                                                              AlmaLinux 8 - AppStream
baseos                                                                                 AlmaLinux 8 - BaseOS
epel                                                                                   Extra Packages for Enterprise Linux 8 - x86_64
extras                                                                                 AlmaLinux 8 - Extras
mariadb                                                                                MariaDB
nodesource-nodejs                                                                      Node.js Packages for Linux RPM based distros - x86_64
nodesource-nsolid                                                                      N|Solid Packages for Linux RPM based distros - x86_64
remi-modular                                                                           Remi's Modular repository for Enterprise Linux 8 - x86_64
remi-safe                                                                              Safe Remi's RPM repository for Enterprise Linux 8 - x86_64
virtualmin-universal                                                                   Virtualmin Distribution Neutral Packages
webmin-stable-noarch                                                                   Webmin Releases

Here are all my packages

# dnf repolist --all
repo id                                                                    repo name                                                                                                                       status
Webmin                                                                     Webmin Distribution Neutral                                                                                                     disabled
appstream                                                                  AlmaLinux 8 - AppStream                                                                                                         enabled
appstream-debuginfo                                                        AlmaLinux 8 - AppStream debuginfo                                                                                               disabled
appstream-source                                                           AlmaLinux 8 - AppStream Source                                                                                                  disabled
baseos                                                                     AlmaLinux 8 - BaseOS                                                                                                            enabled
baseos-debuginfo                                                           AlmaLinux 8 - BaseOS debuginfo                                                                                                  disabled
baseos-source                                                              AlmaLinux 8 - BaseOS Source                                                                                                     disabled
docker-ce-nightly                                                          Docker CE Nightly - x86_64                                                                                                      disabled
docker-ce-nightly-debuginfo                                                Docker CE Nightly - Debuginfo x86_64                                                                                            disabled
docker-ce-nightly-source                                                   Docker CE Nightly - Sources                                                                                                     disabled
docker-ce-stable                                                           Docker CE Stable - x86_64                                                                                                       disabled
docker-ce-stable-debuginfo                                                 Docker CE Stable - Debuginfo x86_64                                                                                             disabled
docker-ce-stable-source                                                    Docker CE Stable - Sources                                                                                                      disabled
docker-ce-test                                                             Docker CE Test - x86_64                                                                                                         disabled
docker-ce-test-debuginfo                                                   Docker CE Test - Debuginfo x86_64                                                                                               disabled
docker-ce-test-source                                                      Docker CE Test - Sources                                                                                                        disabled
elevate-testing                                                            ELevate Testing                                                                                                                 disabled
elevate-testing-source                                                     name=ELevate Testing - Source                                                                                                   disabled
epel                                                                       Extra Packages for Enterprise Linux 8 - x86_64                                                                                  enabled
epel-debuginfo                                                             Extra Packages for Enterprise Linux 8 - x86_64 - Debug                                                                          disabled
epel-modular                                                               Extra Packages for Enterprise Linux Modular 8 - x86_64 - RETIRED                                                                disabled
epel-modular-debuginfo                                                     Extra Packages for Enterprise Linux Modular 8 - x86_64 - Debug - RETIRED                                                        disabled
epel-modular-source                                                        Extra Packages for Enterprise Linux Modular 8 - x86_64 - Source - RETIRED                                                       disabled
epel-multimedia                                                            negativo17 - Multimedia                                                                                                         disabled
epel-multimedia-source                                                     negativo17 - Multimedia - Source                                                                                                disabled
epel-source                                                                Extra Packages for Enterprise Linux 8 - x86_64 - Source                                                                         disabled
epel-testing                                                               Extra Packages for Enterprise Linux 8 - Testing - x86_64                                                                        disabled
epel-testing-debuginfo                                                     Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Debug                                                                disabled
epel-testing-modular                                                       Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - RETIRED                                                      disabled
epel-testing-modular-debuginfo                                             Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Debug - RETIRED                                              disabled
epel-testing-modular-source                                                Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Source - RETIRED                                             disabled
epel-testing-source                                                        Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Source                                                               disabled
extras                                                                     AlmaLinux 8 - Extras                                                                                                            enabled
extras-debuginfo                                                           AlmaLinux 8 - Extras debuginfo                                                                                                  disabled
extras-source                                                              AlmaLinux 8 - Extras Source                                                                                                     disabled
ha                                                                         AlmaLinux 8 - HighAvailability                                                                                                  disabled
ha-debuginfo                                                               AlmaLinux 8 - HighAvailability debuginfo                                                                                        disabled
ha-source                                                                  AlmaLinux 8 - HighAvailability Source                                                                                           disabled
home_emby                                                                  emby's Home Project (CentOS_7)                                                                                                  disabled
mariadb                                                                    MariaDB                                                                                                                         enabled
nfv                                                                        AlmaLinux 8 - Real Time for NFV                                                                                                 disabled
nfv-debuginfo                                                              AlmaLinux 8 - Real Time for NFV Debuginfo                                                                                       disabled
nfv-source                                                                 AlmaLinux 8 - Real Time for NFV Sources                                                                                         disabled
nodesource-nodejs                                                          Node.js Packages for Linux RPM based distros - x86_64                                                                           enabled
nodesource-nsolid                                                          N|Solid Packages for Linux RPM based distros - x86_64                                                                           enabled
plus                                                                       AlmaLinux 8 - Plus                                                                                                              disabled
plus-debuginfo                                                             AlmaLinux 8 - Plus debuginfo                                                                                                    disabled
plus-source                                                                AlmaLinux 8 - Plus Source                                                                                                       disabled
powertools                                                                 AlmaLinux 8 - PowerTools                                                                                                        disabled
powertools-debuginfo                                                       AlmaLinux 8 - PowerTools debuginfo                                                                                              disabled
powertools-source                                                          AlmaLinux 8 - PowerTools Source                                                                                                 disabled
remi                                                                       Remi's RPM repository for Enterprise Linux 8 - x86_64                                                                           disabled
remi-debuginfo                                                             Remi's RPM repository for Enterprise Linux 8 - x86_64 - debuginfo                                                               disabled
remi-modular                                                               Remi's Modular repository for Enterprise Linux 8 - x86_64                                                                       enabled
remi-modular-debuginfo                                                     Remi's Modular repository for Enterprise Linux 8 - x86_64 - debuginfo                                                           disabled
remi-modular-test                                                          Remi's Modular testing repository for Enterprise Linux 8 - x86_64                                                               disabled
remi-modular-test-debuginfo                                                Remi's Modular testing repository for Enterprise Linux 8 - x86_64 - debuginfo                                                   disabled
remi-safe                                                                  Safe Remi's RPM repository for Enterprise Linux 8 - x86_64                                                                      enabled
remi-safe-debuginfo                                                        Remi's RPM repository for Enterprise Linux 8 - x86_64 - debuginfo                                                               disabled
remi-test                                                                  Remi's test RPM repository for Enterprise Linux 8 - x86_64                                                                      disabled
remi-test-debuginfo                                                        Remi's test RPM repository for Enterprise Linux 8 - x86_64 - debuginfo                                                          disabled
resilientstorage                                                           AlmaLinux 8 - ResilientStorage                                                                                                  disabled
resilientstorage-debuginfo                                                 AlmaLinux 8 - ResilientStorage debuginfo                                                                                        disabled
resilientstorage-source                                                    AlmaLinux 8 - ResilientStorage Source                                                                                           disabled
rt                                                                         AlmaLinux 8 - Real Time                                                                                                         disabled
rt-debuginfo                                                               AlmaLinux 8 - Real Time Debuginfo                                                                                               disabled
rt-source                                                                  AlmaLinux 8 - Real Time Sources                                                                                                 disabled
sap                                                                        AlmaLinux 8 - SAP                                                                                                               disabled
sap-debuginfo                                                              AlmaLinux 8 - SAP Debuginfo                                                                                                     disabled
sap-source                                                                 AlmaLinux 8 - SAP Sources                                                                                                       disabled
saphana                                                                    AlmaLinux 8 - SAP HANA                                                                                                          disabled
saphana-debuginfo                                                          AlmaLinux 8 - SAP HANA Debuginfo                                                                                                disabled
saphana-source                                                             AlmaLinux 8 - SAP HANA Sources                                                                                                  disabled
virtualmin                                                                 RHEL/CentOS/Scientific 8 - x86_64 - Virtualmin                                                                                  disabled
virtualmin-universal                                                       Virtualmin Distribution Neutral Packages                                                                                        enabled
webmin-stable-noarch                                                       Webmin Releases                                                                                                                 enabled

Hello,

The required package is located in the PowerTools repository, which is currently disabled.
Please try enabling it with the following steps:

sudo dnf config-manager --set-enabled powertools
sudo dnf clean all
sudo dnf makecache --refresh
sudo dnf update gdk-pixbuf2 gdk-pixbuf2-xlib
sudo dnf -y update

https://rpmfind.net/linux/RPM/almalinux/8.10/powertools/x86_64/gdk-pixbuf2-xlib-2.36.12-7.el8_10.x86_64.html

Good luck.

CentOS 7 had packages gdk-pixbuf2, gdk-pixbuf2-devel, and gdk-pixbuf2-tests. In its ‘base’ repo.

AlmaLinux 8 has:

# dnf -q --enablerepo=powertools list gdk-pixbuf2\* | grep -v i686
Installed Packages
gdk-pixbuf2.x86_64                     2.36.12-7.el8_10           @baseos   
gdk-pixbuf2-modules.x86_64             2.36.12-7.el8_10           @appstream
Available Packages
gdk-pixbuf2-devel.x86_64               2.36.12-7.el8_10           appstream 
gdk-pixbuf2-xlib.x86_64                2.36.12-7.el8_10           powertools    
gdk-pixbuf2-xlib-devel.x86_64          2.36.12-7.el8_10           powertools    

That is, packages gdk-pixbuf2, gdk-pixbuf2-modules, gdk-pixbuf2-devel, gdk-pixbuf2-xlib, and gdk-pixbuf2-xlib-devel.
Note how they are split into three AlmaLinux repos: ‘baseos’, ‘appstream’, and ‘powertools’.
Note also that dnf shows the repo from which the installed packages are from.

Note also that

dnf history list gdk-pixbuf2-xlib

should list the transactions that did involve the gdk-pixbuf2-xlib.
One can also show info about particular transaction, e.g.:
dnf history info 7
and the output includes repo for package.


CentOS 7 packages were not one-to-one with AlmaLinux 8, so the distro conversion must have done something “clever”, or the gdk-pixbuf2-xlib got added later. Either way, the powertools repo must have been accessible (i.e. enabled) at least for the install.

Why it was no longer enabled? You know your system.

thanks that worked. I don’t know why powertools was disabled, I don’t think I would have done that unless the upgrade guide told me to.

If you have any questions,
please feel free to contact us. :grin: