Bug 1710668 - Conflicts with satellite 6.5 client packages
Summary: Conflicts with satellite 6.5 client packages
Keywords:
Status: CLOSED DUPLICATE of bug 2000952
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: qpid-proton
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Irina Boverman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-16 02:41 UTC by prasun.gera
Modified: 2021-10-28 20:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-13 22:26:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description prasun.gera 2019-05-16 02:41:09 UTC
Description of problem:
qpid-proton-c and python2-qpid-proton conflict with rhel 7's satellite 6.5 client packages

Version-Release number of selected component (if applicable):
0.26.0-2.el7

How reproducible:
Always

Steps to Reproduce:

sudo yum update

Actual results:

Resolving Dependencies
--> Running transaction check
---> Package qpid-proton-c.x86_64 0:0.26.0-2.el7 will be updated
--> Processing Dependency: qpid-proton-c(x86-64) = 0.26.0-2.el7 for package: python2-qpid-proton-0.26.0-2.el7.x86_64
---> Package qpid-proton-c.x86_64 0:0.26.0-3.el7 will be an update
--> Finished Dependency Resolution
Error: Package: python2-qpid-proton-0.26.0-2.el7.x86_64 (@epel)
           Requires: qpid-proton-c(x86-64) = 0.26.0-2.el7
           Removing: qpid-proton-c-0.26.0-2.el7.x86_64 (@epel)
               qpid-proton-c(x86-64) = 0.26.0-2.el7
           Updated By: qpid-proton-c-0.26.0-3.el7.x86_64 (rhel-7-server-satellite-tools-6.5-rpms)
               qpid-proton-c(x86-64) = 0.26.0-3.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:

No conflicts

Additional info:

Comment 1 Vadym Chepkov 2021-09-14 14:13:08 UTC
That's a problem in Satellite 6.9 as well

Error: Package: python2-qpid-proton-0.34.0-1.el7.x86_64 (@epel)
           Requires: qpid-proton-c(x86-64) = 0.34.0-1.el7
           Removing: qpid-proton-c-0.34.0-1.el7.x86_64 (@epel)
               qpid-proton-c(x86-64) = 0.34.0-1.el7
           Updated By: qpid-proton-c-0.35.0-1.el7.x86_64 (epel)
               qpid-proton-c(x86-64) = 0.35.0-1.el7
           Available: qpid-proton-c-0.28.0-4.el7.x86_64 (rhel-7-server-satellite-tools-6.9-rpms)
               qpid-proton-c(x86-64) = 0.28.0-4.el7
           Available: qpid-proton-c-0.32.0-2.el7.x86_64 (rhel-7-server-satellite-tools-6.9-rpms)
               qpid-proton-c(x86-64) = 0.32.0-2.el7

Comment 2 Tom Pinard 2021-09-16 13:12:35 UTC
I believe what has happened is someone has compiled and released a new version of qpid-proton-c but has not done the same for python2-qpid-proton, and they need to be maintained at the same version.
In fact, if you look in the "q" section of the EPEL repository, you will see version 0.35 of qpid-proton-c:
https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/q/
But if you look in the "p" section, not only is there no updated version, the python2-qpid-proton package appears to be removed completely!
https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/
The only thing that seems to be left is a python-qpid-proton-docs (note: not python2) package.

This breaks things like server patching and upgrades because qpid-proton-c and python2-qpid-proton are dependent on each other, and required by the satellite's katello package on content hosts.

Comment 3 Vadym Chepkov 2021-09-16 14:07:32 UTC
Seems like these packages are dependencies for katello-agent and since it is obsolete, I solved my issue by just uninstalling them

Comment 4 Tom Pinard 2021-09-16 14:26:30 UTC
They could be and likely are dependencies for other software as well, though.

Comment 5 rahul Singh 2021-09-28 05:03:10 UTC
Any update on this?

I am using 'python2-pyngus' package whose dependencies are:
1. python2-qpid-proton
2. qpid-proton-c

Comment 6 Carl George 🤠 2021-10-13 22:26:12 UTC
epel7 packages are only prohibited from overriding packages in rhel7-server, rhel7-rhel-extras, rhel7-server-ha, and rhel7-server-optional [0].  This list notable does not include the satellite tools repo.  That means an EPEL package can duplicate a satellite tools package at a higher version.  This appears to be what was happening with python-qpid-proton.  It was later removed from the epel7 qpid-proton spec file [1], which is allowed by EPEL policy.  People that want to use both epel7 and the satellite tools repo should exclude all packages provided in the satellite tools repo from their local epel7 repo definition to avoid conflicts like this.

[0] https://docs.fedoraproject.org/en-US/epel/epel-policy/#_policy
[1] bug 2000952

Comment 7 prasun.gera 2021-10-13 22:34:02 UTC
Per the current policy, yes, this is not a bug by definition. The issue, of course, is that the policy is deficient. Satellite client packages would be needed for many large scale deployments. Note that it would be reasonable to not care about satellite-server since that is a special case.

Comment 8 Irina Boverman 2021-10-28 20:14:14 UTC

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


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