LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   md5sum error (https://www.linuxquestions.org/questions/linux-software-2/md5sum-error-335875/)

Krogen 06-21-2005 04:24 PM

md5sum error
 
Wasn't entirely sure where to put it, so here it goes.

I downloaded a Fedora Core 4 iso image. Now, when I try to md5sum it, it gives me an error. If I google it, I'll find almost no links relating to it. Help? Here it is...

Quote:

root@1[Fedora]# md5sum -cv SHA1SUM
md5sum: no files checked
I tried doing the above as a root or as a normal user. Both failed. And, yes, the names match and the file includes everything.

Thanks.

Pete M 06-21-2005 04:33 PM

After downloading the ISO images, check the SHA1 checksums for the ISO images to ensure that your download was successful. Do this by running the sha1sum program from a shell prompt against your ISO images and comparing the values returned against the ones published by Red Hat. The file from Red Hat containing the official sha1sum values is called SHA1SUM and is located in the same directory as the ISO images on the FTP site.

The following illustrates the correct syntax for the sha1sum command:

Code:

sha1sum <isofilename>
In the above command, replace <isofilename> with the correct file name.

If the SHA1 sums match, burn the ISO images to CD-Rs or CD-RWs. Note: writing the ISOs to CD requires a program such as cdrecord. If you want to perform a hard drive installation instead, copy the ISO image files to a location on the hard drive that will not be reformated for Fedora Core.

Think you need sha1sum ?

Pete

Krogen 06-21-2005 04:44 PM

What is sha1sum and how does it differ from md5sum? After sha1suming my iso #1, I got the following output...

Quote:

c4e6972529609b1405a44edd4ae9f82b7f0332ee FC4-x86_64-disc1.iso
So, now, I compare the contents of SHA1SUM with the above output? Is this correct? Or am I missing something?

Thanks.

God... I'm starting to talk like a robot. Too much geekness :)

Krogen 06-21-2005 04:53 PM

All right, here's what I got. It's not the same if you compare it to the SHA1SUM file.

Quote:

krogen@1[Fedora]$ sha1sum FC4-x86_64-disc1.iso
c4e6972529609b1405a44edd4ae9f82b7f0332ee FC4-x86_64-disc1.iso
FIle:
Quote:

e77898791cf3bc37b9267321b89d51a147fea649 FC4-x86_64-disc1.iso

Pete M 06-21-2005 05:04 PM

Krogen

All I know is that this caught me out, fortunately when I used

Code:

sha1sum <isofilename>
The result came out right

As you already know from Fedora the result should be

FC4-x86_64-disc1.iso (sha1sum: e77898791cf3bc37b9267321b89d51a147fea649)

So it looks like a bad download, but I'm no expert and could be wrong

Pete

Krogen 06-21-2005 05:14 PM

Another bad download :(

I've been having problems with downloading iso files on ANY OS. They are almost always corrupted. For example, when I tried downloading ubuntu, I wasted 10 cds or so on burning bad isos. Thinking that iy *might* work. But no.

My adsl line quality is good (as checked on dslreports.com), I never get any loss of packets. This is just rediciolous.

Pete M 06-21-2005 05:22 PM

Krogen

What you using to download ? had lots of problems with browsers like firefox so now I use gwget

Not sure what distro you are currently on but it may be available to you

Downloading iso 1 now just to verify the result, let you know

Pete

Krogen 06-21-2005 06:30 PM

I'm downloading it from some speedy school ftp server with konqueror. It's the only program that --sometimes-- downloads an iso well.

I also tried downloading isos with Azureus (bittorrent client) and it gave me nightmares in the last few months. ALWYAS have to do force recheck on all files and it never downloads anything completely right. Just keep force rechecking a file and Azureus keeps patching it up. And it never ends.

Same thing with all other bittorrents.

Is there any software that would fix a downloaded file? (Check the file with a copy on a server?) I wouldn't want to re-download the whole thing cause it seems like all 4 other isos are corrupt, too. F***.

Thanks!

teckk 06-21-2005 06:35 PM

My 2 cents
I downloaded FC4 with wget all 4 at once over night and all check summed ok. So the files the mirrors point to are ok.
Use a download mgr. like wget or kget etc. that will resume on stalls and keep trying until it gets the file. Then check sum them with sha1sum to see how you did.
I used my FreeBSD box to get them.

Krogen 06-21-2005 06:42 PM

Wget like a wget command in shell? Will try.


In the meantime, I'll burning the first cd and I'll run "linux mediacheck" at the FC4 boot.

Krogen 06-21-2005 06:48 PM

*I'll let you guess what happened*

Guess...


That's right. :( See my new topic!

Krogen 06-21-2005 09:53 PM

Success!!!

I used wget to download the iso file, all good!!!

Now have to download all five of them :rolleyes:

Pete M 06-22-2005 01:47 AM

Krogen

Congratulations

Gwget is a graphical version of wget since using it I have no problem with downloads, just leave it running in the background while I carry on browsing

Pete

Krogen 06-22-2005 09:40 AM

I downloaded all 5 isos over the night and only the third one got a wrong sha1sum error (checked it twice). Sounds good to me. :D


All times are GMT -5. The time now is 06:20 PM.