View Issue Details

IDProjectCategoryView StatusLast Update
0015476CentOS-7yumpublic2018-11-20 19:15
ReporterNed Slider 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0015476: Yum behaves differently on CentOS to RHEL
DescriptionYum behaves differently on CentOS to RHEL.

For example, on RHEL7:

# yum --showduplicates list kernel
Loaded plugins: fastestmirror, langpacks, nvidia, product-id, search-disabled-
              : repos, subscription-manager
Loading mirror speeds from cached hostfile
 * elrepo: mirrors.coreix.net
 * epel: mirror.freethought-internet.co.uk
 * nux-dextop: mirror.li.nux.ro
Installed Packages
kernel.x86_64 3.10.0-862.el7 @rhel-7-server-rpms
kernel.x86_64 3.10.0-862.14.4.el7 @rhel-7-server-rpms
kernel.x86_64 3.10.0-957.el7 @rhel-7-server-rpms
Available Packages
kernel.x86_64 3.10.0-123.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.1.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.4.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.4.4.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.6.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.8.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.9.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.9.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.13.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.13.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-123.20.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.1.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.4.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.7.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.11.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.14.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-229.20.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.3.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.4.4.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.4.5.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.10.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.13.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.18.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.22.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.28.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.28.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.36.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.36.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-327.36.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.2.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.6.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.6.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.10.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.16.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.21.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.21.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.26.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-514.26.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.1.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.2.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.2.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.5.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.11.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.11.6.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.17.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-693.21.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.2.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.3.2.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.3.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.6.3.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.9.1.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.11.6.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-862.14.4.el7 rhel-7-server-rpms
kernel.x86_64 3.10.0-957.el7 rhel-7-server-rpms

whereas on CentOS only packages in the current point release are available
Steps To ReproduceSteps to reproduce:

1. Install latest CentOS7 with default configuration
2. yum update
3. yum --showduplicates list kernel

shows only kernel packages from the current point release

Expected behaviour:

shows all kernel package versions from all point releases

Additional InformationThis difference in behaviour has the potential to break other software.

Wondering if it would be feasible to create a large /everything type repo (hard-linked) that users could choose to enable to replicate the RHEL behaviour? Or maybe some other workaround to achieve similar behaviour on CentOS to that of RHEL?

TagsNo tags attached.
abrt_hash
URL

Activities

toracat

toracat

2018-11-20 00:14

manager   ~0033132

In CentOS, packages from earlier point releases are accessible through the Vault repo. Thus:

sudo yum list --showduplicates --enablerepo=C7\* kernel-3.10\*

will show all kernels from CentOS-7.

Installed Packages
kernel.x86_64 3.10.0-862.14.4.el7 @updates
Available Packages
kernel.x86_64 3.10.0-123.el7 C7.0.1406-base
kernel.x86_64 3.10.0-123.1.2.el7 C7.0.1406-updates
kernel.x86_64 3.10.0-123.4.2.el7 C7.0.1406-updates
...
(snip)
...
kernel.x86_64 3.10.0-693.21.1.el7 C7.4.1708-updates
kernel.x86_64 3.10.0-862.el7 base
kernel.x86_64 3.10.0-862.2.3.el7 updates
kernel.x86_64 3.10.0-862.3.2.el7 updates
kernel.x86_64 3.10.0-862.3.3.el7 updates
kernel.x86_64 3.10.0-862.6.3.el7 updates
kernel.x86_64 3.10.0-862.9.1.el7 updates
kernel.x86_64 3.10.0-862.11.6.el7 updates
kernel.x86_64 3.10.0-862.14.4.el7 updates
TrevorH

TrevorH

2018-11-20 00:17

manager   ~0033133

As far as I know, this was done to save space on the mirror network. Each point release has its own self-contained base/updates repos and the older ones get moved to vault. To change this would need major consultation with the mirror network about dedicating 10 times as much space to being a mirror than is currently required (a guesstimate based on around 10 point releases in the lifetime of one major version).
Ned Slider

Ned Slider

2018-11-20 18:15

reporter   ~0033136

Works for me. Thank you for the workaround.

Issue History

Date Modified Username Field Change
2018-11-19 20:32 Ned Slider New Issue
2018-11-20 00:14 toracat Note Added: 0033132
2018-11-20 00:17 TrevorH Note Added: 0033133
2018-11-20 18:15 Ned Slider Note Added: 0033136
2018-11-20 19:15 toracat Status new => resolved
2018-11-20 19:15 toracat Resolution open => no change required