Bug 2054184
| Summary: | python2-solv rpm prevents upgrades to solve dependencies | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
| Component: | Packaging | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.11.0 | CC: | jsherril, wpinheir |
| Target Milestone: | 6.11.0 | Keywords: | Regression, Triaged, UpgradeBlocker, Upgrades |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-15 15:01:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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
This has the same solution as https://bugzilla.redhat.com/show_bug.cgi?id=2054182#c2 should we close it as a duplicate? *** This bug has been marked as a duplicate of bug 2054182 *** |
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