librepo and libcomps need to be retired from EPEL7 since they exist in RHEL Extras. Moreover, if someone accidentally has the version from EPEL, it'll break DNF in Extras.
They should upgrade to the ones in Extra as the ones in RHEL/CentOS extras are newer. I will put in a releng ticket to have these removed from EPEL.
This happens with libcomps, but not librepo. If someone has librepo already installed from EPEL and then installs DNF through the nextgen-yum4 package, it will not upgrade librepo and the resulting DNF command is broken.
nextgen-yum4
Here is what I see in CentOS:
''' [smooge@xanadu 7.6.1810]$ find . -type f -print | egrep 'libcomps|librepo-' ./extras/x86_64/Packages/libcomps-doc-0.1.8-7.el7.noarch.rpm ./extras/x86_64/Packages/libcomps-0.1.8-7.el7.x86_64.rpm ./extras/x86_64/Packages/libcomps-devel-0.1.8-7.el7.x86_64.rpm ./extras/x86_64/Packages/python-libcomps-doc-0.1.8-7.el7.noarch.rpm ./extras/x86_64/Packages/python2-libcomps-0.1.8-7.el7.x86_64.rpm ./extras/x86_64/Packages/libcomps-0.1.8-12.el7.x86_64.rpm ./extras/x86_64/Packages/libcomps-devel-0.1.8-12.el7.x86_64.rpm ./extras/x86_64/Packages/libcomps-doc-0.1.8-12.el7.noarch.rpm ./extras/x86_64/Packages/python2-libcomps-0.1.8-12.el7.x86_64.rpm ./extras/x86_64/Packages/python-libcomps-doc-0.1.8-12.el7.noarch.rpm ./os/x86_64/Packages/librepo-1.8.1-7.el7.i686.rpm ./os/x86_64/Packages/librepo-devel-1.8.1-7.el7.i686.rpm ./os/x86_64/Packages/librepo-1.8.1-7.el7.x86_64.rpm ./os/x86_64/Packages/librepo-devel-1.8.1-7.el7.x86_64.rpm ./os/x86_64/Packages/python-librepo-1.8.1-7.el7.x86_64.rpm '''
here is what I see in EPEL ''' ./l/libcomps-0.1.8-3.el7.x86_64.rpm ./l/libcomps-devel-0.1.8-3.el7.x86_64.rpm ./l/libcomps-doc-0.1.8-3.el7.noarch.rpm ./l/librepo-1.7.16-1.el7.x86_64.rpm ./l/librepo-devel-1.7.16-1.el7.x86_64.rpm ./p/python-libcomps-doc-0.1.8-3.el7.noarch.rpm ./p/python-librepo-1.7.16-1.el7.x86_64.rpm ./p/python2-libcomps-0.1.8-3.el7.x86_64.rpm '''
librepo is 1.8.1 in CentOS and 1.7.16 in EPEL so shouldn't it upgrade?
It does if you do yum upgrade. But if you have the EPEL version installed already, yum install nextgen-yum4 does not always trigger librepo to be upgraded.
yum upgrade
yum install nextgen-yum4
https://pagure.io/releng/issue/8205
This has been completed and should show up in the next compose of EPEL
Metadata Update from @smooge: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.