Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1347813

Summary: Incorrect available package count with yum --security
Product: Red Hat Enterprise Linux 6 Reporter: Mahesh Taru <mtaru>
Component: yum-utilsAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.9CC: emrakova, redhat.com, samuel
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: yum-utils-1.1.30-38.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 10:48:29 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269194, 1355985, 1359262    

Description Mahesh Taru 2016-06-17 17:46:03 UTC
Description of problem:
yum --security returns incorrect number of applicable and available packages.

Version-Release number of selected component (if applicable):
yum-utils-1.1.30-37.el6.noarch.rpm
https://rhn.redhat.com/errata/RHEA-2016-0837.html

How reproducible:
Always

Steps to Reproduce:
1. Following yum packages version present on client before update.
********************************************************************
# rpm -qa |grep yum
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-3.2.29-69.el6.noarch
yum-utils-1.1.30-30.el6.noarch
yum-plugin-security-1.1.30-30.el6.noarch
yum-rhn-plugin-0.9.1-58.el6.noarch
********************************************************************

2. Updated yum-utils and yum-plugin-security to latest version on client.
********************************************************************
# rpm -qa |grep yum
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-utils-1.1.30-37.el6.noarch
yum-3.2.29-73.el6.noarch
yum-plugin-security-1.1.30-37.el6.noarch
yum-rhn-plugin-0.9.1-60.el6.noarch
********************************************************************

3. Checked the list of security updates and it shows total 304 packages available.
********************************************************************
# yum --security list updates 
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Limiting package lists to security relevant ones
1920 package(s) needed for security, out of 304 available
[...]
********************************************************************

Actual results:
Shows 302 packages available and 1920 packages needed for security.

Expected results:
It should show something like 302 package(s) needed for security, out of 1920 available.

Additional info:

Comment 2 Markus Birth 2016-08-22 10:12:47 UTC
Duplicate: 1361729

Comment 7 Markus Birth 2017-03-03 11:32:05 UTC
Now that #1361729 has been closed, what's the plan with RHEL6? When is this going to be backported?

Comment 9 errata-xmlrpc 2017-03-21 10:48:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0696.html