On Wed, Apr 02, 2003 at 02:48:05PM -0500, Robert Adkins II wrote:
> 
>       I am curious to know if there is a way to determine at what time
> an RPM may have been installed onto a computer. 

Here's my favorite script to list all the installed rpms in date-sorted order:

#!/bin/bash

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

This is *extremely* useful if you want to know which packages were
installed in say, the last week.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to