[xml/sgml-pkgs] Bug#358364: postrm not idempotent

Frank Lichtenheld djpig at debian.org
Wed Mar 22 13:09:29 UTC 2006


Package: xml-core
Version: 0.09
Severity: serious

If your try to run the postrm twice (which it is required to handle
correctly by policy 6.2) you get the following error:

Removing xml-core ...
Purging configuration files for xml-core ...
rmdir: xml-core: No such file or directory
dpkg: error processing xml-core (--purge):
 subprocess post-removal script returned error exit status 1

Also the "cd -" afterwards is very fragile since you can't really
depend on this directory to exist. The postrm should probably not fail
if it doesn't.

Gruesse,
	Frank Lichtenheld

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages xml-core depends on:
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 
ii  sgml-base                     1.26       SGML infrastructure and SGML catal

xml-core recommends no packages.

-- no debconf information




More information about the debian-xml-sgml-pkgs mailing list