Red Hat Satellite upgrade to 6.15 version is failing due to dependency issue.
Environment
- Red Hat Satellite 6.14
- RHEL8
Issue
-
Red Hat Satellite upgrade to 6.15 version is failing due to dependency issue:
Download package(s) : [FAIL] Failed executing dnf --downloadonly -y --disableplugin=foreman-protector update, exit status 1: Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS 19 MB/s | 69 MB 00:03 Red Hat Enterprise Linux 8 for x86_64 - AppStre 19 MB/s | 64 MB 00:03 Red Hat Satellite 6.15 for RHEL 8 x86_64 (RPMs) 1.8 MB/s | 881 kB 00:00 Red Hat Satellite Maintenance 6.15 for RHEL 8 x 40 kB/s | 21 kB 00:00 Error: Problem: package gdk-pixbuf2-xlib-2.36.12-5.el8.x86_64 from @System requires gdk-pixbuf2(x86-64) = 2.36.12-5.el8, but none of the providers can be installed - cannot install both gdk-pixbuf2-2.36.12-6.el8_10.x86_64 from rhel-8-for-x86_64-baseos-rpms and gdk-pixbuf2-2.36.12-5.el8.x86_64 from @System - cannot install both gdk-pixbuf2-2.36.12-6.el8_10.x86_64 from rhel-8-for-x86_64-baseos-rpms and gdk-pixbuf2-2.36.12-5.el8.x86_64 from rhel-8-for-x86_64-baseos-rpms - cannot install the best update candidate for package gdk-pixbuf2-2.36.12-5.el8.x86_64 - problem with installed package gdk-pixbuf2-xlib-2.36.12-5.el8.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) -------------------------------------------------------------------------------- Scenario [Migration scripts to Satellite 6.15] failed. The following steps ended up in failing state: [packages-update]
Resolution
-
Ensure to take snapshot of Red hat Satellite prior to upgrade.
-
Need to run following commands on Red hat Satellite to resolve dependency issue:
# rpm -e gdk-pixbuf2-xlib-2.36.12-5.el8.x86_64 --nodeps --justdb # dnf update gdk-pixbuf2* --disableplugin=foreman-protector
For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.
Root Cause
- Package gdk-pixbuf2-xlib-2.36.12-5.el8.x86_64 installed at the time system installation was not allowing to upgrade gdk-pixbuf2(x86-64) to the latest version.
Diagnostic Steps
-
Error message shows:
Problem: package gdk-pixbuf2-xlib-2.36.12-5.el8.x86_64 from @System requires gdk-pixbuf2(x86-64) = 2.36.12-5.el8, but none of the providers can be installed - problem with installed package gdk-pixbuf2-xlib-2.36.12-5.el8.x86_64 <====
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.