Bug#295175: xfree86-common faild to purge, breaking buildds in interesting ways
Package: xfree86-common
Version: 4.3.0.dfsg.1-11
Severity: grave
xfree86-common fails to purge, leaving it in state 'pi', and breaking builds
left, right, and center. A transcript of the puge, with -x follows:
--------------------
lucifer:~# dpkg --purge xfree86-common
(Reading database ... 7815 files and directories currently installed.)
Removing xfree86-common ...
+ THIS_PACKAGE=xfree86-common
+ THIS_SCRIPT=postrm
+ SOURCE_VERSION=4.3.0.dfsg.1-11
+ OFFICIAL_BUILD=yes
+ SHELL_LIB_INTERNAL_ERROR=86
+ SHELL_LIB_THROWN_ERROR=74
+ SHELL_LIB_USAGE_ERROR=99
+ '[' -z xfree86-common ']'
+ '[' -z postrm ']'
+ trap 'message; message "Received signal. Aborting xfree86-common package postrm script."; message; exit 1' HUP INT QUIT TERM
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=128
+ expr 128 : '[[:digit:]]\+$'
+ which readlink
+ '[' remove = abort-install ']'
+ '[' remove = abort-upgrade ']'
+ '[' remove = purge ']'
+ '[' remove = purge ']'
+ exit 0
Purging configuration files for xfree86-common ...
+ THIS_PACKAGE=xfree86-common
+ THIS_SCRIPT=postrm
+ SOURCE_VERSION=4.3.0.dfsg.1-11
+ OFFICIAL_BUILD=yes
+ SHELL_LIB_INTERNAL_ERROR=86
+ SHELL_LIB_THROWN_ERROR=74
+ SHELL_LIB_USAGE_ERROR=99
+ '[' -z xfree86-common ']'
+ '[' -z postrm ']'
+ trap 'message; message "Received signal. Aborting xfree86-common package postrm script."; message; exit 1' HUP INT QUIT TERM
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=128
+ expr 128 : '[[:digit:]]\+$'
+ which readlink
+ '[' purge = abort-install ']'
+ '[' purge = abort-upgrade ']'
+ '[' purge = purge ']'
+ update-rc.d xfree86-common remove
Removing any system startup links for /etc/init.d/xfree86-common ...
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11/Xresources
+ true
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11/Xsession.d
+ true
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11
+ true
+ '[' purge = purge ']'
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/xfree86-common.postrm purge
+ THIS_PACKAGE=xfree86-common
+ THIS_SCRIPT=postrm
+ SOURCE_VERSION=4.3.0.dfsg.1-11
+ OFFICIAL_BUILD=yes
+ SHELL_LIB_INTERNAL_ERROR=86
+ SHELL_LIB_THROWN_ERROR=74
+ SHELL_LIB_USAGE_ERROR=99
+ '[' -z xfree86-common ']'
+ '[' -z postrm ']'
+ trap 'message; message "Received signal. Aborting xfree86-common package postrm script."; message; exit 1' HUP INT QUIT TERM
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=
+ expr '' : '[[:digit:]]\+$'
+ DEFCOLUMNS=80
+ which readlink
+ '[' purge = abort-install ']'
+ '[' purge = abort-upgrade ']'
+ '[' purge = purge ']'
+ update-rc.d xfree86-common remove
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11/Xresources
+ true
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11/Xsession.d
+ true
+ for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11
+ rmdir /etc/X11
+ true
+ '[' purge = purge ']'
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_purge
+ _db_cmd 'PURGE '
+ echo 'PURGE '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET='20 Unsupported command "removing" (full line was " Removing any system startup links for /etc/init.d/xfree86-common ...") received from confmodule.'
+ return 20
dpkg: error processing xfree86-common (--purge):
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
xfree86-common
lucifer:~# dpkg -l xfree86-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================-==========================-====================================================================
pi xfree86-common 4.3.0.dfsg.1-11 X Window System (XFree86) infrastructure
--------------------
... Adam
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.28
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages xfree86-common depends on:
ii debconf 1.4.45 Debian configuration management sy
ii debianutils 2.11.2 Miscellaneous utilities specific t
-- debconf information excluded
Reply to: