[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#315784: base-files: md5sum: command not found



reassign 315784 dpkg
thanks

On Sun, 26 Jun 2005, Dan Jacobson wrote:

> X-debbugs-cc: gnus@packages.debian.org, dpkg@packages.debian.org
> Package: base-files
> Version: 3.1.5
> Severity: minor
>
> Odd, worrisome messages seen,
> # dpkg -i *
> Setting up base-files (3.1.5) ...
> Installing new version of config file /etc/debian_version ...
> Installing new version of config file /etc/issue ...
> Installing new version of config file /etc/issue.net ...
> /var/lib/dpkg/info/base-files.postinst: line 120: md5sum: command not found
> /var/lib/dpkg/info/base-files.postinst: line 121: md5sum: command not found
>
> But then not on second time:
> # dpkg -i /var/cache/apt/archives/base-files_3.1.5_i386.deb
> (Reading database ... 167757 files and directories currently installed.)
> Preparing to replace base-files 3.1.5 (using .../base-files_3.1.5_i386.deb) ...
> Unpacking replacement base-files ...
> Setting up base-files (3.1.5) ...
>
> $ dlocate `which md5sum`
> dpkg: /usr/bin/md5sum
> coreutils: /usr/bin/md5sum.textutils
>
> $ dpkg -S `which md5sum`
> local diversion from: /usr/bin/md5sum.textutils
> local diversion to: /usr/bin/md5sum
>
> # apt-cache showpkg dpkg|grep base-files
>
> Well, maybe you should depend on it, as lots of others do.
>
> I'm not sure if it would solve the occasional problem that I
> experienced though.  Maybe if I was using apt it would.
>
> Anyways, I seemed to have uncovered a rare case where things will go
> wrong, when one does dpkg -i * on several files at once.
>
> If I'm correct, then gnus should depend on dpkg too, as it also uses md5sum
>
> Setting up gnus (5.10.6-0.CVS.20050610-1) ...
> install/gnus: Ignoring emacs.
> install/gnus: Byte-compiling for emacs21...found emacs21
> ../usr/bin/ucf: line 554: md5sum: command not found
> /usr/bin/ucf: line 566: md5sum: command not found
> /usr/bin/ucf: line 242: md5sum: command not found
> done.
> [On 2nd try, worked]
>
> Or maybe dpkg should notice it is also upgrading itself, and thus
> upgrade and configure itself all in one step before configuring other
> files from the dpkg -i * command line.

The md5sum cmmand belongs to an essential package, so it is definitely
not a bug in base-files to assume that it should work. I reassign this to
dpkg in case the maintainer has something to say about it.



Reply to: