Re: package manager for RHEL?

"Paul Johnson" <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On 10/24/07, Olaf Zaplinski <[email protected]> wrote:
> Hi,
>
> which package manager would you recommend for a RHEL5 system? rpm alone
> is unusable, it even cannot erase packages:
>
> # rpm -q audit-libs
> audit-libs_1.3.1-1.el5.x86_64
> audit-libs_1.3.1-1.el5.i386
>
> # rpm -e audit-libs_1.3.1-1.el5.i386
> error: package audit-libs_1.3.1-1.el5.i386 is not installed
>

You dont need version info in rpm -e.

This comes up now and then with rpm new users. The argument following
the -e should be the PACKAGE NAME.   On an i386 system I have

$ rpm -qa | grep audit
audit-libs-python-1.5.6-2.fc7
audit-libs-1.5.6-2.fc7

and to remove audit-libs (the package name), type

$ rpm -e audit-libs

Now, on the X86_64 system, one will usually find both the i386 and
x86_64 libs installed. This is not a flaw or mistake, it is a multilib
feature developed.  This way, programs that have 64 bit
implementations can be used, but 32 bit programs that need the
audit-libs functionality can find it.  The dynamic linker for
libraries looks in /usr/lib64 first, then /usr/lib.
  Generally, this does not cause trouble on our 64 bit systems.

To remove audit-libs,

$ rpm -e audit-libs --all-matches




> Olaf
>
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list
>


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.