Bug#348460: xdm: xserver stopped during upgrade
Package: xdm
Version: 6.9.0.dfsg.1-3
Severity: normal
Tags: fixed
The prerm script for xdm 6.9.0.dfsg.1-3 contains these lines:
# Automatically added by dh_installinit
if [ -x "/etc/init.d/xdm" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d xdm stop || exit 0
else
/etc/init.d/xdm stop || exit 0
fi
fi
# End automatically added section
Stopping xdm kills the current X session, so if you are upgrading
from within X, the xdm package will be left in a broken state.
This is fixed in 6.9.0.dfsg.1-4, so the purpose of this bug report is
just to let users following unstable know what happened, as the bug
only reveals itself when upgrading away from 6.9.0.dfsg.1-3.
So, if your X session was killed during the upgrade, just finish
upgrading xdm from your console. Something like:
# dpkg -i /var/cache/apt/archives/xdm_6.9.0.dfsg.1-4_*.deb
or
# dpkg --configure -a
# apt-get install xdm
followed by
# /etc/init.d/xdm restart
Kirk
Reply to: