Comment 13 for bug 223226

Revision history for this message
kko (kko) wrote :

"What does the KDM-requires-restart-dialog say exactly?
When _exactly_ does it appear?"

Apologies for puttings this directly in the comment, but it seems sufficiently relevant and not excessively long. (Plus it's an extract of a log already attached to the report.)

Based on the logs, I have also now confirmed that my issue with 'kdm' *is* the same as the original submitter's issue.

As per the *very beginning* of the attached 'apt-term.log' (I've formatted it to remove the curses escapes, my 'apt-term.log' has the same):

"Log started: 2008-04-27 08:16:29
(Reading database ... 138739 files and directories currently installed.)
Preparing to replace apache2 2.0.55-4ubuntu2.3 (using .../apache2_2.2.8-1_all.deb) ...
Unpacking replacement apache2 ...
dpkg: linux-kernel-headers: dependency problems, but removing anyway as you request:
 libc6-dev depends on linux-kernel-headers (>= 2.6.11.2-0).
(Reading database ... 138741 files and directories currently installed.)
Removing linux-kernel-headers ...
Selecting previously deselected package linux-libc-dev.
(Reading database ... 137644 files and directories currently installed.)
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.24-16.30_i386.deb) ...
Preparing to replace binutils 2.16.1cvs20060117-1ubuntu2.1 (using .../binutils_2.18.1~cvs20080103-0ubuntu1_i386.deb) ...
Unpacking replacement binutils ...
Preparing to replace libc6-dev 2.3.6-0ubuntu20.5 (using .../libc6-dev_2.7-10ubuntu3_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.3.6-0ubuntu20.5 (using .../libc6_2.7-10ubuntu3_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...

# *** N.B. The relevant dialog starts here. As said, extra formatting removed, plus emphasis stars added by me. ***

Ubuntu Configuration
Configuring libc6

Running services and programs that are using NSS *need to be restarted*, otherwise they might not
be able to do lookup or authentication any more. The installation process is able to restart some
services (such as ssh or telnetd), but other programs cannot be restarted automatically. One such
program that *needs manual stopping and restart* after the glibc upgrade *by yourself* is xdm -
because automatic restart might disconnect your active X11 sessions.

This script detected the following installed services which *must* be stopped before the upgrade:
kdm

If you want to interrupt the upgrade now and continue later, please answer No to the question
below.

Do you want to upgrade glibc now?

<Yes> <No>

# *** Selected <No> to avoid the disconnecting active X11 sessions mentioned above. ***

*Stopped glibc upgrade. Please retry the upgrade after you have
checked or stopped services by hand.*
dpkg: error processing /var/cache/apt/archives/libc6_2.7-10ubuntu3_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.7-10ubuntu3_i386.deb
Log ended: 2008-04-27 08:18:51

Log started: 2008-04-27 08:40:38

# (normal logging continued)"

Please note the time stamps of the last "Log ended" and "Log started" mentions. Between those 'kdm' was manually stopped, *as required* by the scripts started by running 'do-release-upgrade' with the appropriate options, and 'do-release-upgrade' then started for the second time.

The wording here (needs manual stopping by yourself etc.) is *significantly different* from the later "Please review the following space-separated list of init.d scripts for services to be restarted now, and correct it if needed" I quoted above as the "other" manual intervention ( https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/223226/comments/7 ).