On Oct 24, 2007, at 8:59 AM, Jos Vos wrote:
On Wed, Oct 24, 2007 at 02:49:59PM +0200, Olaf Zaplinski wrote:
# 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'\'''
Yes, make it:
alias rpm='rpm --qf '\''%{name}-%{version}-%{release}.%{arch}\n'\'''
echo '%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}' >> /
etc/rpm/macro
Works for all shells ;-)
I've got an a %_query_all_fmt that also identifies srpm's and pubkeys
with suffixes
that I use when I'm bored.
73 de Jeff
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list