[CentOS] md5sum rpms >> list

Fri Jan 27 18:33:21 UTC 2006
Alfred von Campe <alfred at 110.net>

> 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?
>
> I tried something like rpm -q -v | md5sum >> list

That is not a valid rpm command line.  The following worked for me:

     # rpm -qa  | md5sum
     9f97ebe51b3a7e3fdf6b8ecfa913c726  -

Alfred