removing identical package names

Herta Van den Eynde herta.vandeneynde at gmail.com
Tue Jan 15 20:46:50 UTC 2008


On 15/01/2008, Bill Tangren <bjt at usno.navy.mil> wrote:
> I have a Xeon machine (64 bit) running RHEL ES 4 and on it I have a
> package that I would like to remove. The problem is, it is listed twice,
> probably because one is the 32 bit version and the other is the 64 bit.
>
> How do I 'rpm -e' both of those packages?
>
> Thanks!
> --
>
> Bill Tangren
> U.S. Naval Observatory
>
> Auribus tenere lupum


You can use the following rpm command to distinguish between a 32-bit
or 64-bit package:

# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |
grep <RPM_name>

E.g.:
# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |
grep glibc-devel

Kind regards,

Herta
-- 
Herta Van den Eynde

"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."




More information about the redhat-list mailing list