Bug #34463
closedremove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it)
Description
Description of problem:
python3-pulp-2to3-migration rpm prevents upgrades to solve dependencies as python3-pulp-2to3-migration requirement for "python3-pulpcore < 3.15" conflicts with tfm-pulpcore-python3-pulpcore-3.16 rpm
How reproducible:
deterministic
1. Have a Sat 6.10.2 (upgraded from 6.9 so it content migration was performed = python3-pulp-2to3-migration is present)
- rpm -q python3-pulp-2to3-migration
python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch
- 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:> Running transaction check
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
-
...
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: python2-solv => yet another BZ
Updated by Justin Sherrill about 2 years ago
- Project changed from Katello to Foreman Maintain
- Subject changed from remove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it) to remove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it)
- Target version deleted (
Katello 4.4.0)
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/theforeman/foreman_maintain/pull/589 added
Updated by Ian Ballou about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|dfd7f911363f51b112163dfeab0e74d1cc5abfaf.
Updated by The Foreman Bot about 2 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/595 added
Updated by Ian Ballou about 2 years ago
- Status changed from Ready For Testing to Closed