On Dec 2, 2007 1:55 PM, James G. Sack (jim) <[EMAIL PROTECTED]> wrote:
> James G. Sack (jim) wrote:
> >..
> > ==> Aha! : discovery/side note:
> > rpm -q package-name
> > does *NOT* take wildcards :-(
> > but a query with a --queryformat spec seems like it *DOES* Yay! :-)
>
> OIC: On second look, I should have emphasized that
> rpm -qa
> is the variant that takes wildcard patterns. I don't believe it used to,
> so my discovery has nothing to do with the queryformat option, merely
> that -qa now accepts wildcards.
>
By the way, at least on Fedora-type systems, when cron does its daily
4:00am thing, it puts a formatted "rpm -qa" listing into
/var/log/rpmpkgs. So you can grep there to learn things more quickly.
Line from /etc/cron.daily/rpm:
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n'
You could change the format statement to make the kind of list you prefer.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list