LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2005, 04:24 PM   #1
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Rep: Reputation: 15
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.
 
Old 06-21-2005, 04:33 PM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
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
 
Old 06-21-2005, 04:44 PM   #3
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 06-21-2005, 04:53 PM   #4
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 06-21-2005, 05:04 PM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
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
 
Old 06-21-2005, 05:14 PM   #6
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 06-21-2005, 05:22 PM   #7
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
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
 
Old 06-21-2005, 06:30 PM   #8
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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!
 
Old 06-21-2005, 06:35 PM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
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.
 
Old 06-21-2005, 06:42 PM   #10
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 06-21-2005, 06:48 PM   #11
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
*I'll let you guess what happened*

Guess...


That's right. See my new topic!
 
Old 06-21-2005, 09:53 PM   #12
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
Success!!!

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

Now have to download all five of them
 
Old 06-22-2005, 01:47 AM   #13
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
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
 
Old 06-22-2005, 09:40 AM   #14
Krogen
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mepis
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MD5SUM How to use it Baz Linux - Newbie 10 11-12-2013 10:39 AM
Ubuntu Mplayer Install Error: Md5Sum mismatch racket24 Linux - Software 4 07-12-2005 04:47 PM
YOU md5sum error linux-rulz SUSE / openSUSE 1 12-21-2004 01:49 AM
Md5sum ? mikeshn Linux - General 6 07-03-2003 11:09 AM
Md5sum yenonn Linux - General 1 04-10-2003 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration