[CentOS] removing multiple packages
Jim Perrin
jperrin at gmail.com
Wed Oct 18 12:09:15 UTC 2006
> 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
More information about the CentOS
mailing list