Package: blosxom
Version: 2.0-14
Severity: normal

Hello,

When purging blosxom, the postrm script gives errors:

Removing blosxom ...
Purging configuration files for blosxom ...
/var/lib/dpkg/info/blosxom.postrm: line 8: test: too many arguments
/var/lib/dpkg/info/blosxom.postrm: line 8: test: too many arguments
dpkg - warning: while removing blosxom, directory
`/var/lib/blosxom/data/flavours' not empty so not removed.
dpkg - warning: while removing blosxom, directory
`/var/lib/blosxom/data' not empty so not removed.
dpkg - warning: while removing blosxom, directory `/var/lib/blosxom' not
empty so not removed.

This is always reproducible here: on a clean system do an install, touch
nothing and purge and you get the errors. piuparts also shows the
problem as seen in the attached log.


regards,
Thijs

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages blosxom depends on:
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  perl                          5.8.8-5    Larry Wall's Practical Extraction 

Versions of packages blosxom recommends:
ii  apache-ssl [httpd]            1.3.34-2   versatile, high-performance HTTP s
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2

-- debconf information:
  blosxom/breakage:
  blosxom/old_cgi_file: false
3m10.1s DEBUG: Starting command: chroot /tmp/tmpalx7jq dpkg --purge blosxom
3m10.1s DUMP:   (Reading database ... 7107 files and directories currently 
installed.)
3m10.1s DUMP:   Removing blosxom ...
3m10.1s DUMP:   Purging configuration files for blosxom ...
3m10.2s DUMP:   /var/lib/dpkg/info/blosxom.postrm: line 8: test: too many 
arguments
3m10.4s DUMP:   /var/lib/dpkg/info/blosxom.postrm: line 8: test: too many 
arguments
3m10.5s DUMP:   dpkg - warning: while removing blosxom, directory 
`/var/lib/blosxom/data/flavours' not empty so not removed.
3m10.5s DUMP:   dpkg - warning: while removing blosxom, directory 
`/var/lib/blosxom/data' not empty so not removed.
3m10.5s DUMP:   dpkg - warning: while removing blosxom, directory 
`/var/lib/blosxom' not empty so not removed.
3m10.5s DEBUG: Command ok: 'chroot /tmp/tmpalx7jq dpkg --purge blosxom'
3m10.5s DEBUG: Starting command: chroot /tmp/tmpalx7jq dpkg --remove --pending
3m10.6s DEBUG: Command ok: 'chroot /tmp/tmpalx7jq dpkg --remove --pending'
3m10.6s DEBUG: Starting command: chroot /tmp/tmpalx7jq dpkg --purge --pending
3m10.6s DEBUG: Command ok: 'chroot /tmp/tmpalx7jq dpkg --purge --pending'
3m10.6s DEBUG: Starting command: chroot /tmp/tmpalx7jq dpkg --remove --pending
3m10.6s DEBUG: Command ok: 'chroot /tmp/tmpalx7jq dpkg --remove --pending'
3m11.6s ERROR: Package purging left files on system:
  /var/lib/blosxom
    owned by: blosxom
  /var/lib/blosxom/data
    owned by: blosxom
  /var/lib/blosxom/data/flavours
    owned by: blosxom
  /var/lib/blosxom/data/flavours/content_type.1993
  /var/lib/blosxom/data/flavours/content_type.html
  /var/lib/blosxom/data/flavours/content_type.index
  /var/lib/blosxom/data/flavours/date.html
  /var/lib/blosxom/data/flavours/foot.1993
  /var/lib/blosxom/data/flavours/foot.html
  /var/lib/blosxom/data/flavours/foot.index
  /var/lib/blosxom/data/flavours/head.1993
  /var/lib/blosxom/data/flavours/head.html
  /var/lib/blosxom/data/flavours/head.index
  /var/lib/blosxom/data/flavours/story.1993
  /var/lib/blosxom/data/flavours/story.html
  /var/lib/blosxom/data/flavours/story.index

Reply via email to