GNU bug report logs - #7155
[md5sum] does not accept

Previous Next

Package: coreutils;

Reported by: Rimas Kudelis <rq <at> rq.lt>

Date: Sun, 3 Oct 2010 19:28:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 7155 <at> debbugs.gnu.org (full text, mbox):

From: Rimas Kudelis <rq <at> rq.lt>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 7155 <at> debbugs.gnu.org
Subject: Re: bug#7155: [md5sum] does not accept
Date: Sat, 16 Oct 2010 22:37:01 +0300
On Sun, 03 Oct 2010 23:27:24 +0100, Pádraig Brady <P <at> draigBrady.com>
wrote:
> On 03/10/10 20:24, Rimas Kudelis wrote:
>> Hi,
>> 
>> I have a little problem with md5sum.
>> 
>> A FreeBSD box generates an md5 sum of a file, which I'm later trying to
>> check on a Linux box. The problem is that what FreeBSD's md5 outputs is
>> slightly different from what Linux's md5sum expects, which makes md5sum
>> complain. The difference is really trivial: md5 outputs one space
>> between the sum and the file name, and md5sum outputs/expects two:
> 
> md5 seems to output a different format here.
> 
> $ head -n1 /etc/motd
> FreeBSD 8.0-RELEASE-p3 (GENERIC) #0: Wed May 26 05:45:12 UTC 2010
> $ md5sum --version | head -n1
> md5sum (GNU coreutils) 8.3
> $ md5 file | tee t.md5
> MD5 (file) = b85d6fb9ef4260dcf1ce0a1b0bff80d3
> $ md5sum -c t.md5
> file: OK
> 
> Could you verify what md5 utility you're using exactly.


Sorry for taking so long to answer, but I wasn't the person producing the
checksum, so I had to ask too. The command used to produce the checksum is:
$ md5 -r <filename>

FreeBSD release version is the same as yours. I've just tested the same
command with FreeBSD 6.2, and it only outputs one space too.

Rimas




This bug report was last modified 13 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.