Re: package manager for RHEL?

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

 



Mohd Irwan Jamaluddin schrieb:
> Try this,
> rpm -qa | grep audit-libs | xargs rpm -e --allmatches


It does not work:

# rpm -qa | grep audit-libs | xargs rpm -e --allmatches
error: package audit-libs_1.3.1-1.el5.i386 is not installed
error: package audit-libs_1.3.1-1.el5.x86_64 is not installed


Perhaps because of a bash alias?

alias rpm='rpm --qf '\''%{name}_%{version}-%{release}.%{arch}\n'\'''


I had to install this because RHEL5 has a big bug: when you run rpm
directly, it produces this funny output:

# rpm -q audit-libs
audit-libs-1.3.1-1.el5
audit-libs-1.3.1-1.el5

With alias, I get at least:

# rpm -q audit-libs
audit-libs_1.3.1-1.el5.x86_64
audit-libs_1.3.1-1.el5.i386

RHEL4 has no problem like this.

Olaf

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux