[mirror-admin] is there a checksum list?
Chuck Anderson
cra at WPI.EDU
Sun Mar 23 15:52:36 EDT 2008
On Sun, Mar 23, 2008 at 02:14:12PM -0300, Carlos Carvalho wrote:
> I'd like to verify checksums of the whole distribution from time to
> time. rsync does it when the file is pulled but corruption may happen
> later and might go unnoticed for a long time.
>
> Is there a file with the checksums of all the other files in a given
> release? If not, are the checksums stored somewhere? Are they
> available for all files?
You can use "rpm -K" to check RPM files, and of course the SHA1SUM
file to check the .iso's. I use a script like this to print the list
of bad packages:
#!/bin/sh
find $1 -type f -name '*.rpm' -exec rpm -K {} \; | grep "NOT OK"
--
More information about the Mirror-admin
mailing list