Bug 197801

Summary: rpm -qa lists duplicate packages
Product: [Fedora] Fedora Reporter: Jason Pepas <cell>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-06 14:45:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Pepas 2006-07-06 14:21:06 UTC
Running 'rpm -qa' lists many packages twice.

On a fresh, minimal install of FC5, compare the following output:

# rpm -qa | wc -l
343
# rpm -qa | sort | uniq | wc -l
308

Comment 1 Paul Nasrat 2006-07-06 14:45:11 UTC
Multilib packages.

rpm --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' -qa | sort | uniq | wc -l