Re: removing identical package names

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

 



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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux