LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2004, 04:35 PM   #1
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Rep: Reputation: 15
md5sum problem


Downloaded Fedora on my redhat 9 system, Did the md5sum check in terminal like so.
md5sum yarrow-i386-disc1.iso
And i got
4f1ee2438a8bd74ce73700c986c106a1
As an output. The fedora correct output isnt that or even close, so i did the check again and got.
a94079a47fadc9c0bb171ca736335bfa
Still not correct so i did it again and got
b32e69784cdd78ca7e37b1f4e3368e3e
Am i missing something here? This should be the same each time i check it correct??? Please enlighten me on what may be wrong or what i am doing wrong. I just want to know if the file is good.
Thanks
Rick P
 
Old 04-05-2004, 05:04 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Result of md5sum for a file should be the same try after try. Could you please paste the terminal session when you calculate the sums (command+result, command+result)?
 
Old 04-05-2004, 05:06 PM   #3
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Original Poster
Rep: Reputation: 15
here it is
yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
4f1ee2438a8bd74ce73700c986c106a1 yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
a94079a47fadc9c0bb171ca736335bfa yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
b32e69784cdd78ca7e37b1f4e3368e3e yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso

rick p
 
Old 04-05-2004, 05:21 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Very strange...are you sure the file is not modified between the calculations?
 
Old 04-05-2004, 06:49 PM   #5
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Original Poster
Rep: Reputation: 15

I dont know what you mean by the file being modified, Im not changing anything if thats what your asking. The output below i just re did. Different outputs all the time and i did all of them one after another not changing anything. Mabe its a bug??

rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
39f0b6b00e7e555074deb0ee1e9155ab yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
0a70b26f1f62a3b302d90874b455b079 yarrow-i386-disc1.iso
[rick@localhost rick]$ md5sum yarrow-i386-disc1.iso
533947d87ccec0e9b5a5b471c54e4a7d yarrow-i386-disc1.iso
[rick@localhost rick]$

Rick P
 
Old 04-06-2004, 05:57 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Try to calculate the sum for any other file (may be a small text file). Does it also produce different results?
 
Old 04-06-2004, 10:09 PM   #7
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Actually checking a small file gave me the correct results time and time again. as you can see here.

[rick@localhost rick]$ md5sum xlinux_92235.jpg
579a87a13f20fa40bfb1ba59dc81c0a7 xlinux_92235.jpg
[rick@localhost rick]$ md5sum xlinux_92235.jpg
579a87a13f20fa40bfb1ba59dc81c0a7 xlinux_92235.jpg
[rick@localhost rick]$ md5sum xlinux_92235.jpg
579a87a13f20fa40bfb1ba59dc81c0a7 xlinux_92235.jpg
[rick@localhost rick]$ md5sum xlinux_92235.jpg
579a87a13f20fa40bfb1ba59dc81c0a7 xlinux_92235.jpg
[rick@localhost rick]$

Any ideas on why it would be doing this? And is there another way i can check a file or another version of md5sum i can use? Also i did try another big program approx 500 meg and it kept producing different results also, Just wanted to make sure it wasnt just that particular file. (just wanted to rule out the file being messed up)
???????
I do appreciate your help
Thanks
Rick P

Last edited by drivesector; 04-06-2004 at 10:12 PM.
 
Old 04-07-2004, 05:39 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Did you do those checkings after burning the ISOs to CD? If so, there might be a problem with reading from CD rather than with md5sum...
 
Old 04-07-2004, 04:34 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Quote:
Originally posted by drivesector

Any ideas on why it would be doing this? And is there another way i can check a file or another version of md5sum i can use? Also i did try another big program approx 500 meg and it kept producing different results also, Just wanted to make sure it wasnt just that particular file. (just wanted to rule out the file being messed up)
If you're sure that nothing's writing on the file there are two possibilities: something wrong with your disk or the md5sum program. I'd try to reinstall the program first. You have it on your installation cd, so remove the current RPM for md5sum from your system (rpm -e md5sum) and install the new one from the cd.
 
Old 04-07-2004, 05:24 PM   #10
gregaryh
Member
 
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43

Rep: Reputation: 15
Was it still in the process of downloading? I was getting the same problem till I realized it had not finished completely. do an ls -l in the directory with the iso in it a couple of times and compare the time stamps and files sizes.
 
Old 04-07-2004, 07:17 PM   #11
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Original Poster
Rep: Reputation: 15
The file is located on my hard drive. And was finished downloading. I tried md5sum with smaller programs and it produced the correct results. Im going to reinstall md5sum program and see what happens.
Thanks for the help so far. Ill see if this works
Rick P
 
Old 04-08-2004, 04:11 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Quote:
Originally posted by drivesector
The file is located on my hard drive. ...
Okay. Did you try a filecheck with fsck or some other tool to verify a whole and sane file structure?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Checking md5sum problem. satimis *BSD 3 12-20-2006 06:07 AM
Md5sum Brad52 Mandriva 1 05-20-2005 05:47 PM
md5sum problem mdpniesta Linux - Software 7 01-19-2005 07:07 AM
md5sum problem !!! c707176 Fedora 1 11-10-2004 05:26 AM
Md5sum ? mikeshn Linux - General 6 07-03-2003 12:09 PM


All times are GMT -5. The time now is 04:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration