Katello 3.9 upgrade issue with python2-django16

Trying to go from Katello 3.6 to 3.9 on Centos 7.6.1810.

I am on Step 4 - Update Package trying to run the yum -y update and I am getting this error:

–> Processing Conflict: python2-django16-1.6.11.7-5.el7.noarch conflicts python2-django >= 1.7
–> Finished Dependency Resolution
Error: python2-django16 conflicts with python2-django-1.11.13-4.el7.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id, subscription-manager

If I try to remove python2-django16 I see that the following will be effected:

Removing:
python2-django16 noarch 1.6.11.7-5.el7 @epel 15 M
Removing for dependencies:
katello noarch 3.6.0-3.el7 @katello 0.0
pulp-deb-plugins noarch 1.6.0-1.el7 @pulp 154 k
pulp-docker-plugins noarch 3.1.2-1.el7 @pulp 397 k
pulp-katello noarch 1.0.2-1.el7 @katello 37 k
pulp-puppet-plugins noarch 2.15.3-1.el7 @pulp 345 k
pulp-rpm-plugins noarch 2.15.3-1.el7 @pulp 1.3 M
pulp-server noarch 2.15.3-1.el7 @pulp 3.3 M
python-pulp-streamer noarch 2.15.3-1.el7 @pulp 54 k

I know we need some of these so cannot do the remove. Any idea how I can proceed?

Louis

If I understand correctly, you are trying to upgrade at once from 3.6 -> 3.9.
This upgrade path is unsupported and untested.
Instead, you should upgrade only one version at a time - 3.6->3.7->3.8->3.9.

Let me try that…

I reverted to my 3.6 snapshot and tried all the steps again but for 3.7. Got the same error:

—> Package rh-mongodb34-libstemmer.x86_64 0:0-5.585svn.el7 will be installed
—> Package rh-mongodb34-yaml-cpp.x86_64 0:0.5.3-1.el7 will be installed
–> Running transaction check
—> Package rh-mongodb34-libunwind.x86_64 0:1.2-3.el7 will be installed
–> Processing Conflict: python2-django16-1.6.11.7-5.el7.noarch conflicts python2-django >= 1.7
–> Finished Dependency Resolution
–> Running transaction check
—> Package kernel.x86_64 0:3.10.0-693.17.1.el7 will be erased
–> Processing Conflict: python2-django16-1.6.11.7-5.el7.noarch conflicts python2-django >= 1.7
–> Finished Dependency Resolution
Error: python2-django16 conflicts with python2-django-1.11.13-4.el7.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id, subscription-manager
Unable to upload Enabled Repositories Report

Whats the deal…
Louis

You can try the same in yum edit again

# yum edit
> remove python2-django16
> upgrade

Sadly this isn’t really under our control since the packages come from EPEL.

1 Like