Bug#610450: xserver-xorg: XF86Config-4 can confuse Xorg and is not removed
Package: xserver-xorg
Version: 7.5+8
Tags: patch
xserver-xorg now no longer creates xorg.conf but XF86Config-4 is not
deleted when purged. So purging and reinstalling even the whole xorg
stack can lead to X not starting because looking into the old file.
I'd suggest removing it in purge.
diff -r -u -N xorg-7.5+8/debian/xserver-xorg.postrm.in xorg-7.5+8.new/debian/xserver-xorg.postrm.in
--- xorg-7.5+8/debian/xserver-xorg.postrm.in 2010-03-10 06:21:26.000000000 +0100
+++ xorg-7.5+8.new/debian/xserver-xorg.postrm.in 2011-01-18 18:35:25.000000000 +0100
@@ -31,7 +31,7 @@
rm -f "$SERVER_SYMLINK"
rm -f "$XORGCONFIG_CHECKSUM" "$XORGCONFIG_ROSTER"
rm -f "$SERVER_SYMLINK_CHECKSUM" "$SERVER_SYMLINK_ROSTER"
- rm -f "$XORGCONFIG"
+ rm -f "$XORGCONFIG" "$XF86CONFIG"
for DIR in "$CONFIG_DIR" "$CONFIG_AUX_DIR"; do
rmdir "$DIR" 2> /dev/null || true
Another solution would be to change the Xserver to no longer look into
that old file, which would be worthwhile otherwise, but would still
keep that file around after purge on a system upgraded for some Debian
releases before.
Bernhard R. Link
Reply to: