Package: xserver-common Version: 4.2.1-10 Severity: normal Tags: patch While purging this package, the postrm simply hangs while purging the configuration files. ps shows a grep in the postrm command is waiting for input from stdin.
The postrm is missing the conffile argument to grep, which should be fixed by the following patch: --- xfree86-4.2.1.orig/debian/xserver-common.postrm.in 2003-08-26 11:29:45.000000000 +0200 +++ xfree86-4.2.1/debian/xserver-common.postrm.in 2003-08-26 11:33:05.000000000 +0200 @@ -33,7 +33,7 @@ # check existing roster file for our package name if fgrep -qx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER"; then # construct temporary roster file with our package name removed - fgrep -vx "$THIS_PACKAGE" > "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" + fgrep -vx "$THIS_PACKAGE" "$XWRAPPER_CONFIG_ROSTER" > "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp" # is there anything left? if [ -n "$(cat "$XWRAPPER_CONFIG_ROSTER.dpkg-tmp")" ]; then # yes, replace the roster file -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux pinguin 2.4.22-rc2-pinguin #1 Di Aug 19 11:13:19 CEST 2003 i686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] Versions of packages xserver-common depends on: ii debconf 1.3.12 Debian configuration management sy ii libc6 2.3.2-3 GNU C Library: Shared libraries an ii xfree86-common 4.2.1-10 X Window System (XFree86) infrastr -- debconf information: xserver-common/xwrapper/nice_value/error: * xserver-common/xwrapper/allowed_users: Console Users Only xserver-common/xwrapper/actual_allowed_users: console * xserver-common/xwrapper/nice_value: -10