[CentOS] removing multiple packages

Wed Oct 18 12:09:15 UTC 2006
Jim Perrin <jperrin at gmail.com>

> First: what a more detailed listing gives you?  Try (all on the
> same line):
>
> rpm -qa --qf '%{name}_%{version}-%{release}.%{arch}\n' | grep samba

I'd also recommend creating a file called .rpmmacros in your home
directory, and also for your root user if you're so inclined. the
contents of the file should be

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

This makes the effect listed in the rpm command above permenant, and
is quite helpful especially with multi-arch systems.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell