[gllug] When was an rpm installed?

Dave Cross dave at dave.org.uk
Thu Apr 21 10:48:39 UTC 2005


On Thu, Apr 21, 2005 at 11:39:01AM +0100, Steve Nelson wrote:
> Hello all,
> 
> I want to find out the date on which an RPM was installed.
> 
> How do I find this out?

>From the online version of Maximum RPM
(http://www.rpm.org/max-rpm/s1-rpm-query-handy-queries.html)

rpm -qa --queryformat '%{installtime} %{name}-%{version}-%{release} %{installtime:date}\n' | sort -nr +1 | sed -e 's/^[^ ]* //'

Dave...

-- 
  If there's something inside that you wanna say
  Say it out loud it'll be ok
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list