[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#386244: tasksel 'Desktop environment' task hangs



Joey Hess wrote:
Chris Lale wrote:
Selecting 'Desktop environment' (in Etch Testing) causes tasksel to hang. (There is a flashing cursor at the bottom left-hand corner of the console.) If 'Desktop environment' is selected from within the Etch beta-3 Debian-installer, the installation fails. I have replicated the problem on a Thinkpad T20 laptop and on the PC detailed below using qemu.

I can't reproduce this in a clean sid chroot. I was able to run tasksel,
select the desktop task, and it downloaded all packages and installed
them to completion. We've also had reports of successful installs of the
taks from within the installer.


I am using tasksel 2.53 (Etch). Sid has tasksel 2.54. The info below is from the Thinkpad T20 laptop.

Are you possibly trying to use tasksel to install from a full CD?

No, I downloaded the netinst CD image i386 Beta-3.


To try to debug your problem, I'll probably need at least three things:

1. The last thing that appears on the screen before the hang.
2. 'ps fax' output of the system when tasksel is apparently hung
3. Full output of tasksel run with the environment variable DEBCONF_DEBUG=. exported. This can be obtained as follows:

   DEBCONF_DEBUG=. tasksel 2>log


1. Screen just before OK entered:

Debian Configuration

?????????????????????? Debian software selection ??????????????????????
? You can choose to install one or more of the following predefined ?
? collections of software. ?
? ?
? Choose software to install: ?
? ?
? [*] Desktop environment ?
? [ ] Web server ?
? [ ] Print server ?
? [ ] DNS server ?
? [ ] File server ?
? [*] Mail server ?
? [ ] SQL database ?
? [ ] Laptop ?
? [ ] manual package selection ?
? ?
? ?
? <Ok> ?
? ?
???????????????????????????????????????????????????????????????????????

2. ps fax output:

PID TTY STAT TIME COMMAND
1 ? S 0:01 init [2]
2 ? SN 0:00 [ksoftirqd/0]
3 ? S 0:00 [watchdog/0]
4 ? S< 0:00 [events/0]
5 ? S< 0:00 [khelper]
6 ? S< 0:00 [kthread]
8 ? S< 0:00 \_ [kblockd/0]
9 ? S< 0:00 \_ [kacpid]
117 ? S 0:00 \_ [pdflush]
118 ? S 0:00 \_ [pdflush]
120 ? S< 0:00 \_ [aio/0]
707 ? S< 0:00 \_ [kseriod]
1482 ? S< 0:00 \_ [khubd]
2614 ? S< 0:00 \_ [kpsmoused]
2615 ? S< 0:00 \_ [kgameportd]
119 ? S 0:00 [kswapd0]
1784 ? S 0:00 [kjournald]
1938 ? S<s 0:00 udevd --daemon
2596 ? S 0:00 [kIrDAd]
2751 ? S 0:00 [pccardd]
2760 ? S 0:00 [shpchpd_event]
2763 ? S 0:00 [pccardd]
3161 ? Ss 0:00 /sbin/portmap
3411 ? S<s 0:00 dhclient -e -pf /var/run/dhclient.eth0.pid -lf /var/run/dhclient.eth0.leases eth0
3521 ? Ss 0:00 /sbin/syslogd
3527 ? Ss 0:00 /sbin/klogd -x
3588 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
3631 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m
3659 ? S 0:00 /usr/sbin/thinkpad-keys
3667 ? Ss 0:00 /usr/sbin/lpd -s
3674 ? Ss 0:00 /usr/sbin/inetd
3702 ? Ss 0:00 /sbin/rpc.statd
3718 ? Ss 0:00 /usr/sbin/atd
3725 ? Ss 0:00 /usr/sbin/cron
3770 tty1 Ss 0:00 /bin/login --
4359 tty1 S 0:00 \_ -bash
4381 tty1 T 0:00 \_ man mformat
4387 tty1 T 0:00 | \_ pager -s
4405 tty1 S+ 0:01 \_ /usr/bin/perl /usr/bin/tasksel
4496 tty1 S+ 0:00 \_ /bin/sh /usr/lib/tasksel/info/desktop.preinst
4501 tty1 S+ 0:00 \_ apt-get -q -y -f install discover1
4503 tty1 S+ 0:00 \_ /usr/lib/apt/methods/cdrom
3771 tty2 Ss 0:00 /bin/login --
4512 tty2 S 0:00 \_ -bash
4517 tty2 R+ 0:00 \_ ps fax
3772 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
3773 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
3774 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
3775 tty6 Ss+ 0:00 /sbin/getty 38400 tty6


3. DEBCONF_DEBUG=. tasksel 2>log output:


debconf (db): making DbDriver of type File
debconf (db config): started; filename is /var/cache/debconf/config.dat
debconf (db config): loading database
debconf (db): making DbDriver of type File
debconf (db passwords): started; filename is /var/cache/debconf/passwords.dat
debconf (db passwords): loading database
debconf (db): making DbDriver of type Stack
debconf (db): making DbDriver of type File
debconf (db templatedb): started; filename is /var/cache/debconf/templates.dat
debconf (db templatedb): loading database
debconf (developer): frontend started
debconf (db configdb): trying to getfield(debconf/frontend value) ..
debconf (db configdb): getfield done by config
debconf (user): trying frontend Dialog
debconf (developer): Trying to find a templates file..
debconf (developer): Trying /usr/lib/tasksel/tasksel-debconf.templates
debconf (developer): Trying /usr/share/debconf/templates/tasksel-debconf.templates
debconf (developer): Couldn't find a templates file.
debconf (developer): frontend running, package name is
debconf (developer): starting /usr/lib/tasksel/tasksel-debconf /tmp/file506And Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection Mail server tasksel/tasks
debconf (developer): <-- SETTITLE tasksel/title
debconf (db configdb): trying to getfield(tasksel/title template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/title) ..
debconf (db passwords): cache miss on tasksel/title
debconf (developer): --> 0
debconf (developer): <-- SUBST tasksel/tasks ORIGCHOICES Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection debconf (db configdb): trying to setvariable(tasksel/tasks ORIGCHOICES Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0
debconf (developer): <-- SUBST tasksel/tasks CHOICES Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection debconf (db configdb): trying to setvariable(tasksel/tasks CHOICES Desktop environment, Web server, Print server, DNS server, File server, Mail server, SQL database, Laptop, manual package selection) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0
debconf (developer): <-- SET tasksel/tasks Mail server
debconf (db configdb): trying to setfield(tasksel/tasks value Mail server) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT high tasksel/tasks
debconf (db configdb): trying to getfield(tasksel/tasks type) ..
debconf (db passwords): cache miss on tasksel/tasks
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(debconf/priority value) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getflag(tasksel/tasks seen) ..
debconf (db configdb): getflag done by config
debconf (db configdb): trying to getfield(tasksel/tasks type) ..
debconf (db passwords): cache miss on tasksel/tasks
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (developer): --> 0 question will be asked
debconf (developer): <-- GO
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks value) ..
debconf (db configdb): getfield done by config
debconf (debug): preparing to run dialog. Params are: whiptail,--separate-output,--checklist,You can choose to install one or more of the following predefined
collections of software.

Choose software to install:,20,71,9,--,Desktop environment,,off,Web server,,off,Print server,,off,DNS server,,off,File server,,off,Mail server,,on,SQL database,,off,Laptop,,off,manual package selection,,off
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(tasksel/tasks) ..
debconf (db configdb): variables done by config
debconf (db configdb): trying to getvariable(tasksel/tasks ORIGCHOICES) ..
debconf (db configdb): getvariable done by config
debconf (db configdb): trying to getfield(tasksel/tasks template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to setfield(tasksel/tasks value Desktop environment, Mail server) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0 ok
debconf (developer): <-- FSET tasksel/tasks seen false
debconf (db configdb): trying to setflag(tasksel/tasks seen false) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0 false
debconf (developer): <-- GET tasksel/tasks
debconf (db configdb): trying to getfield(tasksel/tasks value) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to getfield(tasksel/tasks value) ..
debconf (db configdb): getfield done by config
debconf (developer): --> 0 Desktop environment, Mail server
debconf (db config): saving database
debconf (db passwords): no database changes, not saving
debconf (db templatedb): no database changes, not saving

Exited with Ctrl-C after a minute or so.

Hope this is what you need.

Chris.



Reply to: