Package: slocate
Version: 2.7-4
Severity: minor

Selecting previously deselected package slocate.
(Reading database ... 77082 files and directories currently installed.)
Unpacking slocate (from .../slocate_2.7-4_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 170: t: not found
dpkg: error processing /var/cache/apt/archives/slocate_2.7-4_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/slocate_2.7-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:

happened, when I had  $DEBUG="t"  in my environment before the aptitude
install. Maybe I shouldn't do this, because random programs will spit
out debug messages, but the preinst script of slocate does really weird
things:

[...]
#DEBUG=echo 
[...]
                        $DEBUG rm $i
[...]
                        $DEBUG dpkg-divert --package slocate --remove --rename \
                        --divert $i.old $i
[...]

Is this standard maintainer script practice? If not, I propose to set
DEBUG="" or rename the variable to something less likely to be used
otherwise, or at least do a '[ "$DEBUG" ] && DEBUG=echo'-construction.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (801, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-noname.2
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages slocate depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  dpkg                        1.10.26      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to