Bug 329391

Summary: rpm unusable for removing packages
Product: Red Hat Enterprise Linux 5 Reporter: Olaf <o.zaplinski>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-12 14:09:29 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 Olaf 2007-10-12 13:54:52 UTC
Description of problem:

[root@rbldns yum]# rpm -q aspell
aspell-0.60.3-7.1
aspell-0.60.3-7.1
[root@rbldns yum]# rpm -e aspell-0.60.3-7.1
error: "aspell-0.60.3-7.1" specifies multiple packages

Version-Release number of selected component (if applicable):
rpm-4.4.2-37.el5

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Panu Matilainen 2007-10-12 14:09:29 UTC
The default query format of rpm in RHEL 5 unfortunately doesn't show the
architecture which makes this look sillier than it is. Try the following:

rpm -q --qf "%{name}-%{version}-%{release}.%{arch}\n" aspell

The full name from the above can be used to remove individual packages on
multilib systems, or you can remove both with "rpm -e --allmatches aspell"