PDA

View Full Version : sha1sum of FC-5-i386-disc2.iso?


shams
22nd April 2006, 02:19 AM
hi,
i download the fc5 iso's, the other iso's match the sha1sum except the FC-5-i386-disc2.iso sha1sum not match t, this is the sha1sum command's output:
429b6afdcd4ad687e3c45565f0f9847fcb338501 FC-5-i386-disc2.iso
and this is the sha1sum from the downlod mirror's iso directory:
a85ed1ca5b63e2803f29a33ea6a6bc8eb7f63122 FC-5-i386-disc2.iso
any one else check the FC-5-i386-disc2.iso sha1sum and got the correct result?

marko
22nd April 2006, 03:17 AM
Yes, I did, my computed sha1sum gets:

sha1sum FC-5-i386-disc2.iso
a85ed1ca5b63e2803f29a33ea6a6bc8eb7f63122 FC-5-i386-disc2.iso

and the sha1 sum in the file is:
grep disc2 SHA1SUM
a85ed1ca5b63e2803f29a33ea6a6bc8eb7f63122 FC-5-i386-disc2.iso

Did your file size match? the disc2 size should be
700618752 bytes

Mark

shams
23rd April 2006, 01:54 AM

hi marko,
thanks for reply, i run the:
wget -c ftp://mirror.pacific.net.au/linux/redhat/fedora/5/i386/iso/FC-5-i386-disc2.iso
Length: 700,618,752 (668M), 0 (0) remaining

100%[+++++++++++++++++++++++++++++++++++++] 700,618,752 --.--K/s

05:46:51 (0.00 B/s) - `FC-5-i386-disc2.iso' saved [700618752]
but when i did:
$du FC-5-i386-disc2.iso
684880 FC-5-i386-disc2.iso
may be it is the problem of corrupt download.

marko
23rd April 2006, 02:12 AM
Why are you using "du" ? du gives the file's size in KB units,
what does

ls -l FC-5-i386-disc2.iso

say? My copy of disk 2 is:

ls -l FC-5-i386-disc2.iso
-rw-rw---- 1 mos mos 700618752 Apr 2 01:42 FC-5-i386-disc2.iso

to quickly check the correctness of the file, my file that I know is
correct returns this for check sum ("cksum"):

cksum FC-5-i386-disc2.iso
1362033258 700618752 FC-5-i386-disc2.iso

cksum returns the 32bit checksum (1st number) and the
byte size of the file (2nd number).
Mark

shams
23rd April 2006, 02:36 AM
thanks again, the size is correct:
-rw-rw-r-- 1 root root 700618752 Apr 16 08:02 FC-5-i386-disc2.iso
but he cksum is deferent then your:
$cksum FC-5-i386-disc2.iso
2971275492 700618752 FC-5-i386-disc2.iso

robatino
23rd April 2006, 10:28 AM
You can use rsync to try fixing your local copy:

rsync -v rsync://mirror.linux.duke.edu/fedora-linux-core/5/i386/iso/FC-5-i386-disc5.iso FC-5-i386-disc5.iso

assuming that FC-5-i386-disc5.iso is in your current directory. Make a copy of the ISO file first so you can compare the before and after versions. Some rsync servers are listed on the mirrors page at fedora.redhat.com.