Package: mlocate
Version: 0.22.2-1
Severity: normal
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed a "command not found" during remove and 
purge, the relevant lines from the attached logfile (scroll down to the end) 
are:

0m8.3s DEBUG: Starting command: 
['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--
pending']
0m8.3s DUMP: 
  (Reading database ... 6034 files and directories currently installed.)
  Removing mlocate ...
  Purging configuration files for mlocate ...
  dpkg-statoverrides: warning: No override present.
  /var/lib/dpkg/info/mlocate.postrm: line 17: delgroup: command not found
  dpkg: error processing mlocate (--remove):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   mlocate


From the third paragraph about the meaning of the depends field in
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps

The Depends field should also be used if the postinst, prerm or postrm scripts
require the package to be present in order to run. __Note, however, that the
postrm cannot rely on any non-essential packages to be present during the
purge phase__.


regards,
        Holger
Start: 2009-12-16 01:45:33 UTC

Package: mlocate
Priority: standard
Section: utils
Installed-Size: 568
Maintainer: Tollef Fog Heen <tfh...@debian.org>
Architecture: amd64
Version: 0.22.2-1
Depends: libc6 (>= 2.4), adduser
Conflicts: findutils (<= 4.2.31-1), slocate (<= 3.1-1.1)
Filename: pool/main/m/mlocate/mlocate_0.22.2-1_amd64.deb
Size: 91982
MD5sum: 699a00b1fe29edc2d4ce0b53bbd55b4d
SHA1: c8787cb01c8cc180069bafb9089481eb0bddfe3a
SHA256: 17e71e902c09f175b4d5760e08df83aacf787e2aebce54cf761e00294457711e
Description: quickly find files on the filesystem based on their name
 mlocate is a new implementation of locate, a tool to find files
 anywhere in the filesystem based on their name, using a fixed pattern
 or a regular expression. Unlike other tools like find(1), locate uses
 a previously created database to perform the search, allowing queries
 to execute much faster. This database is updated periodically from
 cron.
 .
 Several implementations of locate exist: the original implementation
 from GNU's findutils, slocate, and mlocate. The advantages of mlocate
 are:
 .
  * it indexes all the filesystem, but results of a search will only
    include files that the user running locate has access to. It does
    this by updating the database as root, but making it unreadable for
    normal users, who can only access it via the locate binary. slocate
    does this as well, but not the original locate.
 .
  * instead of re-reading all the contents of all directories each time
    the database is updated, mlocate keeps timestamp information in its
    database and can know if the contents of a directory changed without
    reading them again. This makes updates much faster and less demanding
    on the hard drive. This feature is only found in mlocate.
 .
 Installing mlocate will change the /usr/bin/locate binary to point to
 mlocate via the alternatives mechanism. After installation, you may
 wish to run /etc/cron.daily/mlocate by hand to create the database,
 otherwise mlocate won't work until that script is run from cron itself
 (since mlocate does not use the same database file as standard locate).
 Also, you may wish to remove the "locate" package in order not to have
 two different database files updated regularly on your system.
Homepage: http://carolina.mff.cuni.cz/~trmac/blog/mlocate
Tag: interface::commandline, role::program, use::searching

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --skip-minimize --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad squeeze -b squeeze.tar.gz --mirror http://piatti.debian.org/debian/ mlocate
Guessed: debian
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 0.38~200912121351 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --skip-minimize --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad squeeze -b squeeze.tar.gz --mirror http://piatti.debian.org/debian/ mlocate
0m0.0s INFO: Running on: Linux piatti 2.6.32.1-dsa-amd64 #1 SMP Mon Dec 14 21:13:49 CET 2009 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmphpx7wv
0m0.0s DEBUG: Unpacking squeeze.tar.gz into /org/piuparts.debian.org/tmp/tmphpx7wv
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmphpx7wv', '-zxf', 'squeeze.tar.gz']
0m2.4s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmphpx7wv', '-zxf', 'squeeze.tar.gz']
0m2.4s DEBUG: Created policy-rc.d and chmodded it.
0m2.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'update']
0m4.7s DUMP: 
  Get:1 http://piatti.debian.org squeeze Release.gpg [835B]
  Get:2 http://piatti.debian.org squeeze Release [89.5kB]
  Ign http://piatti.debian.org squeeze/main Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/contrib Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/non-free Packages/DiffIndex
  Ign http://piatti.debian.org squeeze/main Packages
  Ign http://piatti.debian.org squeeze/contrib Packages
  Ign http://piatti.debian.org squeeze/non-free Packages
  Get:3 http://piatti.debian.org squeeze/main Packages [7961kB]
  Get:4 http://piatti.debian.org squeeze/contrib Packages [59.2kB]
  Get:5 http://piatti.debian.org squeeze/non-free Packages [114kB]
  Fetched 8225kB in 1s (6281kB/s)
  Reading package lists...
0m4.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'update']
0m4.7s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'mount', '-t', 'proc', 'proc', '/proc']
0m4.7s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'mount', '-t', 'proc', 'proc', '/proc']
0m4.7s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', '-yf', 'upgrade']
0m5.8s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    bsdutils libblkid1 libuuid1 mount util-linux
  5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1103kB of archives.
  After this operation, 332kB of additional disk space will be used.
  Get:1 http://piatti.debian.org squeeze/main mount 2.16.2-0 [169kB]
  Get:2 http://piatti.debian.org squeeze/main util-linux 2.16.2-0 [712kB]
  Get:3 http://piatti.debian.org squeeze/main bsdutils 1:2.16.2-0 [78.1kB]
  Get:4 http://piatti.debian.org squeeze/main libuuid1 2.16.2-0 [57.4kB]
  Get:5 http://piatti.debian.org squeeze/main libblkid1 2.16.2-0 [86.7kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 1103kB in 0s (39.8MB/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 6032 files and directories currently installed.)
  Preparing to replace mount 2.16.1-4 (using .../mount_2.16.2-0_amd64.deb) ...
  Unpacking replacement mount ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up mount (2.16.2-0) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 6032 files and directories currently installed.)
  Preparing to replace util-linux 2.16.1-4 (using .../util-linux_2.16.2-0_amd64.deb) ...
  Unpacking replacement util-linux ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up util-linux (2.16.2-0) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 6032 files and directories currently installed.)
  Preparing to replace bsdutils 1:2.16.1-4 (using .../bsdutils_1%3a2.16.2-0_amd64.deb) ...
  Unpacking replacement bsdutils ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up bsdutils (1:2.16.2-0) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 6032 files and directories currently installed.)
  Preparing to replace libuuid1 2.16.1-4 (using .../libuuid1_2.16.2-0_amd64.deb) ...
  Unpacking replacement libuuid1 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libuuid1 (2.16.2-0) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  (Reading database ... 6032 files and directories currently installed.)
  Preparing to replace libblkid1 2.16.1-4 (using .../libblkid1_2.16.2-0_amd64.deb) ...
  Unpacking replacement libblkid1 ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up libblkid1 (2.16.2-0) ...
0m5.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', '-yf', 'upgrade']
0m5.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'clean']
0m5.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'clean']
0m5.8s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmphpx7wv/tmp/scripts/
0m5.8s INFO: Running scripts post_setup
0m6.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--get-selections', '*']
0m6.5s DUMP: 
  apt						install
  base-files					install
  base-passwd					install
  bash						install
  bsdutils					install
  coreutils					install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  diffutils					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  findutils					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  gzip						install
  hostname					install
  initscripts					install
  insserv						install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libdb4.7					install
  libdevmapper1.02.1				install
  libgcc1						install
  liblocale-gettext-perl				install
  libncurses5					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libslang2					install
  libss2						install
  libstdc++6					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  lzma						install
  mawk						install
  mount						install
  ncurses-base					install
  ncurses-bin					install
  passwd						install
  perl-base					install
  procps						install
  readline-common					install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  zlib1g						install
0m6.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--get-selections', '*']
0m6.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', '-y', 'install', 'mlocate']
0m7.5s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following extra packages will be installed:
    adduser
  Suggested packages:
    perl-modules
  The following NEW packages will be installed:
    adduser mlocate
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 249kB of archives.
  After this operation, 1483kB of additional disk space will be used.
  Get:1 http://piatti.debian.org squeeze/main adduser 3.111 [157kB]
  Get:2 http://piatti.debian.org squeeze/main mlocate 0.22.2-1 [92.0kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 249kB in 0s (1803kB/s)
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Selecting previously deselected package adduser.
  (Reading database ... 6032 files and directories currently installed.)
  Unpacking adduser (from .../archives/adduser_3.111_all.deb) ...
  Selecting previously deselected package mlocate.
  Unpacking mlocate (from .../mlocate_0.22.2-1_amd64.deb) ...
  Can not write log, openpty() failed (/dev/pts not mounted?)
  Setting up adduser (3.111) ...
  Setting up mlocate (0.22.2-1) ...
  update-alternatives: using /usr/bin/mlocate to provide /usr/bin/locate (locate) in auto mode.
  Adding group `mlocate' (GID 102) ...
  Done.
0m7.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', '-y', 'install', 'mlocate']
0m7.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'clean']
0m7.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'apt-get', 'clean']
0m7.5s DEBUG: Starting command: ['lsof', '-w', '+D', '/org/piuparts.debian.org/tmp/tmphpx7wv']
0m7.7s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', '+D', '/org/piuparts.debian.org/tmp/tmphpx7wv']
0m8.0s DEBUG: No broken symlinks as far as we can find.
0m8.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--get-selections', '*']
0m8.0s DUMP: 
  adduser						install
  apt						install
  base-files					install
  base-passwd					install
  bash						install
  bsdutils					install
  coreutils					install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  diffutils					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  findutils					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  gzip						install
  hostname					install
  initscripts					install
  insserv						install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libdb4.7					install
  libdevmapper1.02.1				install
  libgcc1						install
  liblocale-gettext-perl				install
  libncurses5					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libslang2					install
  libss2						install
  libstdc++6					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  lzma						install
  mawk						install
  mlocate						install
  mount						install
  ncurses-base					install
  ncurses-bin					install
  passwd						install
  perl-base					install
  procps						install
  readline-common					install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  zlib1g						install
0m8.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--get-selections', '*']
0m8.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', 'adduser']
0m8.0s DUMP: 
  dpkg: dependency problems prevent removal of adduser:
   mlocate depends on adduser.
  dpkg: error processing adduser (--remove):
   dependency problems - not removing
  Errors were encountered while processing:
   adduser
0m8.0s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', 'adduser']
0m8.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', 'mlocate']
0m8.1s DUMP: 
  (Reading database ... 6133 files and directories currently installed.)
  Removing mlocate ...
0m8.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', 'mlocate']
0m8.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.1s DUMP: 
  (Reading database ... 6099 files and directories currently installed.)
  Removing adduser ...
0m8.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.1s INFO: Running scripts post_remove
0m8.1s INFO: Package mlocate contains cron file: /etc/cron.daily/mlocate
0m8.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', '/etc/cron.daily/mlocate']
0m8.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', '/etc/cron.daily/mlocate']
0m8.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', 'adduser']
0m8.3s DUMP: 
  (Reading database ... 6035 files and directories currently installed.)
  Removing adduser ...
  Purging configuration files for adduser ...
0m8.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', 'adduser']
0m8.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', 'mlocate']
0m8.3s DUMP: 
  (Reading database ... 6034 files and directories currently installed.)
  Removing mlocate ...
  Purging configuration files for mlocate ...
  /var/lib/dpkg/info/mlocate.postrm: line 17: delgroup: command not found
  dpkg: error processing mlocate (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   mlocate
0m8.3s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', 'mlocate']
0m8.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.3s DUMP: 
  (Reading database ... 6034 files and directories currently installed.)
  Removing mlocate ...
  Purging configuration files for mlocate ...
  dpkg-statoverrides: warning: No override present.
  /var/lib/dpkg/info/mlocate.postrm: line 17: delgroup: command not found
  dpkg: error processing mlocate (--remove):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   mlocate
0m8.3s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--remove', '--pending']
0m8.3s INFO: Running scripts post_purge
0m8.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', '--pending']
0m8.4s DUMP: 
  (Reading database ... 6034 files and directories currently installed.)
  Removing mlocate ...
  Purging configuration files for mlocate ...
  dpkg-statoverrides: warning: No override present.
  /var/lib/dpkg/info/mlocate.postrm: line 17: delgroup: command not found
  dpkg: error processing mlocate (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   mlocate
0m8.4s ERROR: Command failed (status=1): ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'dpkg', '--purge', '--pending']
  (Reading database ... 6034 files and directories currently installed.)
  Removing mlocate ...
  Purging configuration files for mlocate ...
  dpkg-statoverrides: warning: No override present.
  /var/lib/dpkg/info/mlocate.postrm: line 17: delgroup: command not found
  dpkg: error processing mlocate (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   mlocate
  
0m8.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'umount', '/proc']
0m8.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmphpx7wv', 'umount', '/proc']
0m8.7s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmphpx7wv

End: 2009-12-16 01:45:42 UTC

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to