LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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: 2,513

Rep: Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479Reputation: 8479
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:28 PM.

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