Why is the output of yum list different in RHEL 8?

Solution Verified - Updated -

Issue

  • Why I use "yum list [Package] --showduplicates" to get different results on the two RHEL8 servers which are all registered and have the same official yum repository, same channel?
  • The two RHEL 8 servers have different results such as below:
# yum list containers-common --showduplicates
Updating Subscription Management repositories.
Last metadata expiration check: 0:09:24 ago on Sun 07 Mar 2021 04:50:22 PM CST.
Installed Packages
containers-common.x86_64 1:1.1.1-3.module+el8.3.0+8221+97165c3f               @rhel-8-for-x86_64-appstream-rpms
Available Packages
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8.0.0.z+3525+56c076c3 rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8.0.0+2958+4e823551   rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8.0.0+4017+bbba319f   rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8+2769+577ad176       rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.37-5.module+el8.1.0+4240+893c1ab8              rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.37-6.module+el8.1.0+4876+e678a192              rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.40-8.module+el8.1.1+5351+506397b0              rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.40-10.module+el8.2.0+5955+6cd70ceb             rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:0.1.40-11.module+el8.2.0+6374+67f43e89             rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:1.0.0-1.module+el8.2.1+6676+604e1b26               rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:1.1.1-3.module+el8.3.0+8221+97165c3f               rhel-8-for-x86_64-appstream-rpms
containers-common.x86_64 1:1.2.0-9.module+el8.3.1+9857+68fb1526               rhel-8-for-x86_64-appstream-rpms
  • But the other one is:
# yum list containers-common --showduplicates
Updating Subscription Management repositories.
Last metadata expiration check: 0:12:03 ago on Sun 07 Mar 2021 04:50:22 PM CST.
Installed Packages
containers-common.x86_64 1:1.1.1-3.module+el8.3.0+8221+97165c3f              @rhel-8-for-x86_64-appstream-rpms
Available Packages
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8.0.0+2956+30df4692  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8.0.0+4014+8662b6b2  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-3.git1715c90.module+el8+2650+e6b3d617      rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-4.git1715c90.module+el8.2.0+6370+6fb6c8ca  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-5.git1715c90.module+el8.1.0+4241+a7060183  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-6.git1715c90.module+el8.1.0+4903+9bde5d6c  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-6.git1715c90.module+el8.3.0+8236+8e428216  rhel-8-for-x86_64-appstream-rpms 
containers-common.x86_64 1:0.1.32-6.git1715c90.module+el8.3.0+10171+12421f43 rhel-8-for-x86_64-appstream-rpms 

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content