Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

Re: removing identical package names

Herta Van den Eynde

2008-01-15

Replies: Find Java Web Hosting

Author LoginPost Reply
On 15/01/2008, Bill Tangren <bjt@(protected):
> 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."

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.