[CentOS] md5sum rpms >> list

Fri Jan 27 19:25:24 UTC 2006
Tony Schreiner <schreian at bc.edu>

On Jan 27, 2006, at 2:19 PM, Ignacio Vazquez-Abrams wrote:

> On Fri, 2006-01-27 at 07:07 -0600, Andrew Rice wrote:
>> Does anyone know in centos how to create an md5sum list based on  
>> the current rpms that I have installed right now
>> on my box?
>
> rpm -qa --qf "%{sigmd5}  %{name}-%{epoch}:%{version}-%{release}.% 
> {arch}\n"
>

perhaps followed by sort for easier visual lookup

rpm -qa --qf "%{sigmd5}  %{name}-%{epoch}:%{version}-%{release}.% 
{arch}\n" | sort +1

Tony Schreiner