[CentOS] md5sum rpms >> list

Fri Jan 27 13:41:38 UTC 2006
Andrew Rice <andrew at nams.net>

well I just installed a system...not sure if redhat keeps a list of signatures for each rpm installed or what.
but I just mainly wanted to run a md5sum list and gather up one for every rpm I have installed now...put it
someplace safe...and if I want to later...I can run a check with that list with what I have installed already.

I just mainly wanted to make a list with sig on all the rpms I have and put them into a text file.


 
| Andrew Rice said:
| > 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?
| 
| Not sure the question is clear... are you asking to get an md5 sig for
| each file owned by an installed RPM?  Or the sig on the RPM itself?
| 
| If the former, a real quick starting point might be:
| rpm -qa | xargs -i rpm -ql {} | xargs -i md5sum {}
| 
| ===========
| Alan Sparks, UNIX/Linux Systems Administrator    <asparks at doublesparks.net>
| 
| _______________________________________________
| CentOS mailing list
| CentOS at centos.org
| http://lists.centos.org/mailman/listinfo/centos

-- 
Andrew Rice Jr
Systems Analyst
Carrier Management Systems, Inc.
500 Chestnut Street, Suite 500
Abilene, TX 79602 USA
support: (325) 672-0975
office:  (325) 677-5900
fax:     (325) 676-0529
http://www.nams.net
NAMS III, NAMS 2000 Centralized, NAMS BMX