Re: rpm question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgplWpSXoWWc7.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux