Bug 2035480 - In Satellite upgrade, yum update failed to resolve the "createrepo_c-libs" dependency
Summary: In Satellite upgrade, yum update failed to resolve the "createrepo_c-libs" de...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks: 2029760
TreeView+ depends on / blocked
 
Reported: 2021-12-24 07:56 UTC by Devendra Singh
Modified: 2022-07-05 14:31 UTC (History)
7 users (show)

Fixed In Version: createrepo_c-0.17.7-3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:31:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:42 UTC

Description Devendra Singh 2021-12-24 07:56:23 UTC
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:

Comment 8 Lukas Pramuk 2022-02-16 12:54:47 UTC
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

Comment 12 errata-xmlrpc 2022-07-05 14:31:28 UTC
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


Note You need to log in before you can comment on or make changes to this bug.