Description of problem: In Satellite upgrade, yum update failed to resolve the "createrepo_c-libs" dependency
Version-Release number of selected component (if applicable):
7.0
How reproducible:
always
Steps to Reproduce:
1. Spawn the Satellite using the 6.10.z GA upgrade template
2. Setup the repositories for the Satellite4 upgrade.
3. Run the Satellite upgrade but yum update gets failed to resolve the "createrepo_c-libs-0.17.6-4.el7pc.x86_64" package dependency.
Update package(s) : [FAIL]
Failed executing yum -y --disableplugin=foreman-protector update, exit status 1:
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
.......
......
---> Package tfm-pulpcore-python3-et-xmlfile.noarch 0:1.1.0-1.el7pc will be installed
---> Package tfm-pulpcore-python3-parsley.noarch 0:1.3-1.el7pc will be installed
---> Package tfm-pulpcore-python3-pbr.noarch 0:5.6.0-1.el7pc will be installed
--> Finished Dependency Resolution
Error: Package: createrepo_c-0.17.6-0.1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
Requires: createrepo_c-libs = 0.17.6-0.1.el7pc
Removing: createrepo_c-libs-0.17.6-0.1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
createrepo_c-libs = 0.17.6-0.1.el7pc
Updated By: createrepo_c-libs-0.17.6-4.el7pc.x86_64 (Sat6-CI_Red_Hat_Satellite_7_0_Composes_Satellite_7_0_RHEL7)
createrepo_c-libs = 0.17.6-4.el7pc
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: createrepo_c-0.17.6-0.1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
Requires: createrepo_c-libs = 0.17.6-0.1.el7pc
Removing: createrepo_c-libs-0.17.6-0.1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
createrepo_c-libs = 0.17.6-0.1.el7pc
Updated By: createrepo_c-libs-0.17.6-4.el7pc.x86_64 (Sat6-CI_Red_Hat_Satellite_7_0_Composes_Satellite_7_0_RHEL7)
createrepo_c-libs = 0.17.6-4.el7pc
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--------------------------------------------------------------------------------
Scenario [Migration scripts to Satellite 7.0] failed.
Actual results:
yum update failed to resolve the "createrepo_c" package dependency issue.
Expected results:
yum update should be complete4d successfully without any conflict.
Additional info:
VERIFIED.
@Satellite 7.0.0 Snap9
# rpm -qa createrepo_c*
createrepo_c-libs-0.17.6-0.1.el7pc.x86_64
createrepo_c-0.17.6-0.1.el7pc.x86_64
>>> compose provides createrepo_c rpm having a version matching with createrepo_c-libs rpm version
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:5498