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.
Also, how to list a list of RPMs sorted by install date?
On Tuesday 03 April 2007 15:29, Chu Jeang Tan wrote:
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.
rpm -q -R file-name (this seems to work ok)
Also, how to list a list of RPMs sorted by install date?
rpm -q -a --last
latest rpm installs are at the top of the list.
Nigel.
-- Chu Jeang Tan chujtan@gmail.com
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