This didn't quite work for me, but it did give me what I needed:
rpm -qa | awk '{printf("rpm --verify %s\n",$1)}' > /tmp/list
chmod 777 /tmp/list
/tmp/list > listout
Thanks a bunch! :)
Bill Ward
-----Original Message-----
From: Mike Owen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 02, 2000 1:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Last question on RPM (at least for a while, and from me)
PROM ISE!
> From: Ward William E PHDN [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 02, 2000 12:33 PM
> To: Redhat-List (E-mail)
> Subject: Last question on RPM (at least for a while, and from me)
> PROMISE!
>
>
> Ok, it's more than one question... but they are all related.
> I know that
> somewhere in the heart of it, I'll have to do an rpm
> --verify. But how do I
> get it to tell me all the installed packages?
doing
rpm -qa
will give you a list of installed packages. You could then pipe it to rpm
--verify to verify all of them:
rpm -qa | rpm --verify
HTH,
Mike
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.