Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2054184 - python2-solv rpm prevents upgrades to solve dependencies
Summary: python2-solv rpm prevents upgrades to solve dependencies
Keywords:
Status: CLOSED DUPLICATE of bug 2054182
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-14 11:36 UTC by Lukas Pramuk
Modified: 2023-01-22 00:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-15 15:01:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Pramuk 2022-02-14 11:36:05 UTC
Description of problem:
python2-solv rpm prevents upgrades to solve dependencies.
python2-solv is present as there are still 6.9 pulp2 remnants:
- pulp-rpm-plugins
- python-pulp-integrity


Version-Release number of selected component (if applicable):
7.0.0

How reproducible:
deterministic

Steps to Reproduce:
1. Have a Sat 6.10.2 (upgraded from 6.9 so that content migration was performed = pulp2 tooling was present)
# rpm -q python2-solv
python2-solv-0.7.20-1.el7pc.x86_64

2. Upgrade to 7.0.0
# satellite-maintain upgrade run --target-version 7.0 -w repositories-validate,repositories-setup -y
...

Running Migration scripts to Satellite 7.0
================================================================================
Setup repositories:                                                   [SKIPPED]
--------------------------------------------------------------------------------
Unlock packages:                                                      [OK]
--------------------------------------------------------------------------------
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
...

Error: Package: python2-solv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
           Requires: libsolv(x86-64) = 0.7.20-1.el7pc
           Removing: libsolv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
               libsolv(x86-64) = 0.7.20-1.el7pc
           Updated By: libsolv-0.7.20-4.el7pc.x86_64 (rhel-7-server-satellite-7.0-rpms)
               libsolv(x86-64) = 0.7.20-4.el7pc
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.11-1.el7
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.20-5.el7
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.26-1.el7
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.26-2.el7
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.34-2.el7
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv(x86-64) = 0.6.34-4.el7
Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
           Requires: python3-pulpcore >= 3.13
           Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
               python3-pulpcore = 3.14.9-1.el7pc
           Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.1-1.el7pc.noarch (rhel-7-server-satellite-7.0-rpms)
               Not found 
Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
           Requires: python3-pulpcore < 3.15
           Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
               python3-pulpcore = 3.14.9-1.el7pc
           Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.1-1.el7pc.noarch (rhel-7-server-satellite-7.0-rpms)
               Not found 

 
Actual results:
upgrade failed to solve dependencies

Expected results:
upgrade is successful


Additional info:
the output shows there is yet another issue: python3-pulp-2to3-migration => BZ #2054182

Comment 1 Lukas Pramuk 2022-02-14 11:53:51 UTC
The workaround is to remove python2-solv rpm:

# yum --disableplugin foreman-protector remove python2-solv
...

Dependencies Resolved

========================================================================================================================
 Package                      Arch          Version                     Repository                                 Size
========================================================================================================================
Removing:
 python2-solv                 x86_64        0.7.20-1.el7pc              @rhel-7-server-satellite-6.10-rpms        532 k
Removing for dependencies:
 pulp-rpm-plugins             noarch        2.21.5.2-1.el7sat           @rhel-7-server-satellite-6.9-rpms         1.6 M
 python-pulp-integrity        noarch        2.21.5.2-1.el7sat           @rhel-7-server-satellite-6.9-rpms         116 k

...

>>> fresh 6.10 install doesn't hit it, only upgraded from 6.9

Comment 3 Justin Sherrill 2022-02-15 14:03:34 UTC
This has the same solution as https://bugzilla.redhat.com/show_bug.cgi?id=2054182#c2  

should we close it as a duplicate?

Comment 4 Lukas Pramuk 2022-02-15 15:01:57 UTC

*** This bug has been marked as a duplicate of bug 2054182 ***


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