Bug 1346414

Summary: 'yum list all kernel' does not show all available kernel packages
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stancek <jstancek>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: james.antill, jburke, pbunyan
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-15 08:57:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Stancek 2016-06-14 18:34:16 UTC
Description of problem:
"yum list all kernel" does not show me all kernel packages I can install.

It is OK to install an older kernel:
# yum -q install kernel-3.10.0-418.el7

 Package       Arch          Version                 Repository            Size
 kernel        x86_64        3.10.0-418.el7          beaker-Server         34 M

Transaction Summary
Install  1 Package

Is this ok [y/d/N]: ^C

But "yum list all kernel" does not show it:
# yum -q list all kernel
Installed Packages
kernel.x86_64                                          3.10.0-433.el7                                          @beaker-postrepo0

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. add multiple kernel repos (some with older nvr than currently installed one)

Actual results:
"yum list all kernel" does not show all kernel packages

Expected results:
"yum list all kernel" will show me all available kernel packages

Additional info:

Comment 2 Valentina Mukhamedzhanova 2016-06-15 08:57:04 UTC
--showduplicates should help you.