Package: dlocate Version: 0.5-0.3 Severity: normal Tags: patch
-- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-xen-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages dlocate depends on: ii dctrl-tools 2.9.3 Command-line tools to process Debi ii dpkg 1.13.25 package maintenance system for Deb ii perl 5.8.8-7 Larry Wall's Practical Extraction dlocate recommends no packages. -- debconf-show failed My system has no "/dev/stdin". I actually didn't know that until I encountered this problem. I've used the machine for months and it's been thoroughly exercised during this time, so I'm thinking that /dev/stdin is not normally required, nor should it be depended upon unless there's no alternative. dlocate simply calls "md5sum", which accepts "-" as an argument to "-c". Here's the (trivial) patch: --- /usr/bin/dlocate.orig 2007-03-07 02:31:25.000000000 -0500 +++ /usr/bin/dlocate 2007-03-07 02:31:48.000000000 -0500 @@ -145,7 +145,7 @@ if [ -e $DPKG_INFO/$PKG.md5sums ] ; then cat $DPKG_INFO/$PKG.md5sums | \ awk '{print $1 " /" $2}' | \ - md5sum -c /dev/stdin + md5sum -c - else echo Package \"$PKG\" not installed or has no md5sums. fi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]