maemo.org Bugzilla – Bug 3265
Packages' install scripts try to use md5sum which is not present on device
Last modified: 2009-03-02 13:36:57 UTC
You need to log in before you can comment on or make changes to this bug.
I found that during upgrade to Diablo: Setting up base-files (3.1.osso2+3.1.10.osso16) ... /var/lib/dpkg/info/base-files.postinst: line 130: md5sum: not found /var/lib/dpkg/info/base-files.postinst: line 130: md5sum: not found Worth checking what is wrong I think.
change product
Which exact version of the software (Control Panel > General > About product) and of "dpkg" (Application Manager) is this? I wonder if Maemo ships md5sum at all - I doubt. There is a dpkg/md5sum related Debian upstream bug at http://bugs.debian.org/315784, but that one is supposed to be fixed for two years in version 1.13.20.
It was with osso-software-version-rx44-unlocked 1:4.2008.23-14 and dpkg 1.14.7maemo5 This is present in base-files 3.1.osso2+3.1.10.osso16 which is shipped in Diablo firmware image.
Adding Eero (eero.tamminen@nokia.com) to the cc: list since this is busybox related. CONFIG_MD5SUM=y and possibly CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y would allow busybox to support md5sum command.
(In reply to comment #0) > I found that during upgrade to Diablo: > > Setting up base-files (3.1.osso2+3.1.10.osso16) ... > /var/lib/dpkg/info/base-files.postinst: line 130: md5sum: not found > /var/lib/dpkg/info/base-files.postinst: line 130: md5sum: not found > > Worth checking what is wrong I think. It uses md5sum to check whether to update /etc/motd, which in Diablo is empty i.e. harmless. The other cases might not: # grep -l md5sum /var/lib/dpkg/info/*.p* /var/lib/dpkg/info/base-files.postinst /var/lib/dpkg/info/dbus.preinst /var/lib/dpkg/info/dpkg.preinst /var/lib/dpkg/info/hal.preinst /var/lib/dpkg/info/libx11-6.postinst /var/lib/dpkg/info/libx11-6.preinst /var/lib/dpkg/info/passwd.preinst /var/lib/dpkg/info/x11-common.postinst /var/lib/dpkg/info/x11-common.postrm /var/lib/dpkg/info/x11-common.preinst On my Debian Lenny there're 157 package files which would like to use md5sum... It seems this is mostly for checking whether user has changed their configuration files (I don't see why cmp wouldn't suffice for that though). Worth fixing for Fremantle.
(In reply to comment #5) > Worth fixing for Fremantle. Thanks, these comments are helpful for me. -> Imported against Fremantle. WONTFIX for Diablo.
Fixed for Fremantle: CONFIG_MD5SUM=y and CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y have been added.