[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ensuring rpm integrity
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).
Does anybody have a better idea?
Gaal