do-release-upgrade hangs (6.06 to 8.04): How to proceed?

Asked by Bernd Eidenschink

I started the release upgrade for a 6.06 server with "do-release-upgrade -d". All went well until this point:

Setting up console-setup (121ubuntu8)
* Setting up console font and keymap

This hangs for hours (overnight).

This is the output of the process list (ps afx). The "S+" or "Ss" doesn't look like big of a problem.
Can I interrupt the process on console with Ctrl-C or does it stop the whole upgrade?

What would be a way to proceed?

Thanks for your help!

 4161 tty2 Ss 0:00 /bin/login --
 1540 tty2 S 0:00 \_ -bash
 1558 tty2 S 0:01 \_ /bin/bash
 1575 tty2 S+ 0:08 \_ /usr/bin/python /tmp/tmpVFHS1y/hardy --mode=server --frontend=DistUpgradeViewText --have-prerequists
 1686 tty2 S+ 0:21 \_ /usr/bin/python /tmp/tmpVFHS1y/hardy --mode=server --frontend=DistUpgradeViewText --have-prerequ
11221 pts/0 Ss+ 0:00 \_ /tmp/tmpVFHS1y/backports/usr/bin/dpkg --force-overwrite --status-fd 43 --configure libmysqlc
13795 pts/0 S+ 0:00 \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/console-setup.postinst c
13916 pts/0 S+ 0:00 \_ /bin/sh /var/lib/dpkg/info/console-setup.postinst configure
13941 pts/0 S+ 0:00 \_ /bin/sh /tmp/tmpVFHS1y/imported/invoke-rc.d console-setup start
13957 pts/0 S+ 0:00 \_ /bin/sh /etc/init.d/console-setup start
13971 pts/0 S+ 0:00 \_ /bin/sh /bin/setupcon --force --save
13972 pts/0 S+ 0:00 \_ /bin/echo -n -e \033%G

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bernd Eidenschink
Solved:
Last query:
Last reply:
Revision history for this message
Bernd Eidenschink (eidenschink) said :
#1

/etc# strace -p 13972
Process 13972 attached - interrupt to quit
write(1, "\33%G", 3 <unfinished ...>
Process 13972 detached

/etc# strace -p 13971
Process 13971 attached - interrupt to quit
wait4(-1, <unfinished ...>
Process 13971 detached

/etc# strace -p 13957
Process 13957 attached - interrupt to quit
wait4(-1, <unfinished ...>
Process 13957 detached

Revision history for this message
Bernd Eidenschink (eidenschink) said :
#2

Further notes:

1. Ctrl-C only breaks the current console-setup.
2. After that, upgrade proceeds and it tries to reconfigure the console-setup (without success) later on.
3. Rebooting worked.
4. apt-get update + upgrade: The unfinished console-setup was again detected, but now done in three seconds.

So this one is "solved", albeit the "do-release-upgrade -d" should (on the main ubuntu-page describing how to to a server upgrade) be changed to "do-release-upgrade" without "-d" parameter).