rpm question
Sam Varshavchik
mrsam at courier-mta.com
Tue Apr 3 23:43:04 UTC 2007
Chu Jeang Tan writes:
> How to query for a list of packages that depended on a given package?
>
> I've used "rpm -q --whatrequires pkg" and it does not show my expected packages.
Try:
rpm -e --test package
> Also, how to list a list of RPMs sorted by install date?
rpm -q -a --queryformat '%{INSTALLTIME} %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070403/b67865c9/attachment-0001.sig>
More information about the fedora-list
mailing list