LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-09-2012, 11:46 AM   #1
_GArik_
LQ Newbie
 
Registered: Nov 2010
Posts: 19

Rep: Reputation: 6
md5sum is broken in slackware-current


This is weird, but md5sum is not fully functional in my slackware-current installation.

`md5sum -c FILE` works fine if FILE contains only filenames and their hashes. If FILE contains a header like CHECKSUMS.md5 does, then I got tons of errors messages:
Quote:
# md5sum -c CHECKSUMS.md5 2>&1 | head
md5sum: ./ANNOUNCE.13_37: No such file or directory
./ANNOUNCE.13_37: FAILED open or read
md5sum: ./BOOTING.TXT: No such file or directory
./BOOTING.TXT: FAILED open or read
md5sum: ./CHANGES_AND_HINTS.TXT: No such file or directory
./CHANGES_AND_HINTS.TXT: FAILED open or read
md5sum: ./COPYING: No such file or directory
./COPYING: FAILED open or read
md5sum: ./COPYING3: No such file or directory
./COPYING3: FAILED open or read
Does anybody have the same issue?
 
Old 08-09-2012, 12:30 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
Please read this thread from February where the issue was discussed which you are probably seeing now for the first time: http://www.linuxquestions.org/questi...option-928539/

Eric
 
Old 08-09-2012, 01:21 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 858

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Quote:
Originally Posted by _GArik_ View Post
This is weird, but md5sum is not fully functional in my slackware-current installation.

`md5sum -c FILE` works fine if FILE contains only filenames and their hashes. If FILE contains a header like CHECKSUMS.md5 does, then I got tons of errors messages:
Ironically, the header that's breaking things also contains your answer.

Quote:
To test all these files, use this command:

tail +13 CHECKSUMS.md5 | md5sum -c --quiet - | less
That'll lop the header off the file before it is fed to md5sum.
 
1 members found this post helpful.
Old 08-09-2012, 02:40 PM   #4
_GArik_
LQ Newbie
 
Registered: Nov 2010
Posts: 19

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by volkerdi View Post
Ironically, the header that's breaking things also contains your answer.
OMg! Nice solution. Thank you for the help.
 
  


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
bad md5sum (broken download) , Possible recovery solutions gripip Linux - Newbie 3 07-31-2010 01:18 PM
broken xfce desktop after upgrade to slackware-current Gustav 4 Slackware 9 08-06-2009 05:52 PM
AdBlocK Filters broken: KDE 3.5.1 slackware-current mailman0 Slackware 2 04-19-2006 03:36 PM
slackware current broken? sweetnsourbkr Slackware 8 03-11-2006 06:26 AM


All times are GMT -5. The time now is 10:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration