Bug 353881 - RFE manpage does not describe how to erase a package from a specific architecture
Summary: RFE manpage does not describe how to erase a package from a specific architec...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rpm
Version: 5.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Packaging Maintenance Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-26 11:05 UTC by Ewald Beekman
Modified: 2013-03-08 11:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-08 11:46:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ewald Beekman 2007-10-26 11:05:45 UTC
Description of problem:

If you got for instance both the i386 and the x86_64 version of a package
installed, rpm -qa lists them both with the same name. 
So how to proceed ifyou only want to deinstall the i386 version ?

It turns out that you can append the architecture after the package name,
ie:
[beekman@zero]$ rpm -q zlib
zlib-1.1.4-10.EL3
zlib-1.1.4-10.EL3

[beekman@zero]$ rpm -q zlib --qf '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH}\n'
zlib-1.1.4-10.EL3-x86_64
zlib-1.1.4-10.EL3-i386

[beekman@zero ~]# rpm -e --test --nodeps zlib
error: "zlib" specifies multiple packages
[beekman@zero ~]# rpm -e --test --nodeps zlib.i386
[beekman@zero ~]# rpm -e --test --nodeps zlib.x86_64
[beekman@zero ~]# rpm -e --test --nodeps zlib-1.1.4-10.EL3.x86_64

this functionality should be added to the manpage.

Comment 1 Florian Festi 2013-03-08 11:46:05 UTC
This is more than a bit embarrassing... but RHEL5 has entered development stage 2 ruling RFE out for updates. I at least added the description to the man page in the upstream repository. Thanks for pointing out that this was missing.


Note You need to log in before you can comment on or make changes to this bug.