Tracker: Bugs

5 dpkg: md5sum doesn't accept '-c' option. - ID: 1834149
Last Update: Settings changed ( costabel )

% echo hello > foo
% md5sum foo > MD5SUMS
% md5sum -c MD5SUMS
usage: md5sum [-bv] [-c [file]] | [file...]
Generates or checks MD5 Message Digests
-c check message digests (default is generate)
-v verbose, print file names when checking
-b read files in binary mode
The input for -c should be the list of message digests and file names
that is printed on stdout by this program when it generates digests.

The coreutils md5sum utility 'gmd5sum' works fine.


David L Brown ( dlbrown ) - 2007-11-18 18:28

5

Closed

Fixed

Martin Costabel

Package: Crash / Runtime error

10.5

Public


Comments ( 4 )

Date: 2008-04-19 16:10
Sender: costabelSourceForge.net Donor


dpkg-1.10.21-1225 now uses the system getopt.
This seems to have taken care of this bug.




Date: 2007-11-22 22:39
Sender: costabelSourceForge.net Donor


Yes, I was running Leopard, but I was also running a dpkg that had been
built before the upgrade to Leopard.
I have now rebuilt dpkg on Leopard, and I confirm that you are right.

There seems to be a problem with the getopt library built and used by dpkg
and linked into md5sum.
It behaves differently on Leopard than on Tiger. This needs to be cleared.


Date: 2007-11-22 17:51
Sender: dlbrown


dpkg version:
ii dpkg 1.10.21-1224 The Debian package manager

This fails on every machine I try it on. Are you running Leopard?



Date: 2007-11-22 09:48
Sender: costabelSourceForge.net Donor


I cannot reproduce this. It works as advertised.
What version of dpkg do you have installed?




Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Open 2008-04-19 16:10 costabel
resolution_id None 2008-04-19 16:10 costabel
assigned_to nobody 2008-04-19 16:10 costabel
close_date - 2008-04-19 16:10 costabel
resolution_id Works For Me 2007-11-22 22:39 costabel
resolution_id None 2007-11-22 09:48 costabel