[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: removing identical package names



On 15/01/2008, Bill Tangren <bjt 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."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]