RPM

RFE manpage does not describe how to erase a package from a specific architecture

Bug #651564 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Fedora
Won't Fix
Medium

Bug Description

tracker

Tags: doco rhel
Revision history for this message
In , Ewald (ewald-redhat-bugs) wrote :

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.

Jeff Johnson (n3npq)
tags: added: doco rhel
Revision history for this message
In , Florian (florian-redhat-bugs) wrote :

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.

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.