[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ensuring rpm integrity
On Mon, 13 Oct 1997, Gaal Yahas wrote:
> Hi.
>
> I'm burning a CD with lots of rpms. Since I got those by ftp,
> I want to make sure they're okay before I actually burn.
>
> The only way I could find to check rpms so far was
>
> foreach nam ( * )
> rpm -qi -p $nam || echo $nam >> ~/bad-rpms
> end
>
> Now, this looks pretty shaky, since it doesn't verify the whole
> rpm but rather checks only the very beginning of the rpm file
> (where the header info is stored - and it's not even compressed).
sorry, I searched the man, www.redhat.org and www.rpm.org, doesn't seem to
have an integrity check, this is a very gross oversight, IMHO...
Donnie, is there a better way?
-------------------------------------------------------------------------
Ira Abramov <ira(a)scso.com> (mail ira-pgp(a)scso.com for the PGP key)