Bug#386244: tasksel 'Desktop environment' task hangs
Joey Hess wrote: Chris Lale wrote: The install is in two halves. No, etch has not had a two-stage install since early this year. Sorry, you are right. The CD is removed and the system rebooted after tasksel is finished and grub is installed. I have begun a new install to refresh my memory. I am using the netinstall CD and my home ADSL modem/router to access a remote mirror. While the installer is running tasksel, an installation step fails: Configuring gnome-applets An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Select and install software but I think this is just package dependency problems and nothing to do with tasksel. I had a similar error during the original install and could not complete installation of the 'Desktop environment' although I had a functioning commandline after reboot. That is why there was no CD in the drive when I re-ran tasksel manually ie I completed the installation despite the 'Desktop environment' task failure, removed the CD, rebooted, logged in as root at the commandline and ran tasksel. Tasksel hung because there was no CD in the drive. The /etc/apt/sources.list file created during installation still contains a line for the CD source. Aptitude and Synaptic are happy to download and install packages without the d-i netinstall CD in the drive, but tasksel is not. I must manually edit /etc/apt/sources.list in order for tasksel to work. Perhaps other people will get caught out if they try to run tasksel after a netinstall - unless the installer comments out the CD source at the end of installation? Chris. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386244: tasksel 'Desktop environment' task hangs
Chris Lale wrote: 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 So it's hanging before tasksel installs the desktop task proper, when it's installing discover1 and a few other hardware detection things. And it's trying to read from your CD. If you didn't install from a full CD, why? What's in your /etc/apt/sources.list? -- see shy jo signature.asc Description: Digital signature
Bug#386244: tasksel 'Desktop environment' task hangs
Joey Hess wrote: Chris Lale wrote: 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 So it's hanging before tasksel installs the desktop task proper, when it's installing discover1 and a few other hardware detection things. And it's trying to read from your CD. If you didn't install from a full CD, why? It is a netinst CD (100-150 MB) What's in your /etc/apt/sources.list? Strange. There are two entries for the d-i beta3 CD - one commented out and one not. I have not edited /etc/apt/sources.list manually. The entries were all made by the installer (netinst CD image booted with 'expertgui'). If I comment out both deb cdrom entries, tasksel proceeds normally. What now? Have I made a silly mistake during install or might this be an d-i beta-3 installer bug? Listing of /etc/apt/sources.list begins: # # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060810)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060810)]/ etch main deb http://ftp.uk.debian.org/debian/ etch main non-free contrib deb-src http://ftp.uk.debian.org/debian/ etch main non-free contrib deb http://security.debian.org/ etch/updates main contrib non-free deb-src http://security.debian.org/ etch/updates main contrib non-free -- Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386244: tasksel 'Desktop environment' task hangs
Chris Lale wrote: It is a netinst CD (100-150 MB) I suspect you didn't have the CD in the drive when you were running tasksel standalone. I've identified a case that can make it hang, if apt wants something from the CD and it's not in the drive. I'm unsure how this would happen when the installer is running. It could happen if you managed to eject the CD in the midst of the install, that's all I can think of. I think I've fixed this in debconf 1.5.4, debconf-apt-progress will now prompt for a CD in this situation. This won't actually fix your problem, since the code in question doesn't use debconf-apt-progress yet. But it's a first step. Colin, I'd appreciate another pair of eyes on my changes. It seems to work, but I remember you had some problem preventing you implementing this before.. -- see shy jo signature.asc Description: Digital signature
Bug#386244: tasksel 'Desktop environment' task hangs
So, I've fixed half of the problem underlying this bug, but I don't know what to do about the rest. Tasksel uses apt to install a few packages that X needs pre-installed for hardware detection (like discover1) before the desktop task is installed. But there turns out to be a problem with the way apt is called from tasksel; if it needs to prompt for a CD, it hangs. I'd like to fix that by making tasksel use debconf-apt-progress for that apt run, like it does for the rest of the install, but I'm not sure how to. Overly technical explanation: If tasksel is running standalone, a separate progress bar could be used for this, easy enough. But if tasksel is running from pkgsel with a progress bar already up, then it would need to adjust the waypoints so the first debconf-apt-progress call uses a small percentage of the bar, and the task install the rest. And somehow coordinate with the preinst script for the desktop task. This seems like it will be too complex to implement. -- see shy jo signature.asc Description: Digital signature
Bug#386244: tasksel 'Desktop environment' task hangs
Joey Hess wrote: Chris Lale wrote: It is a netinst CD (100-150 MB) I suspect you didn't have the CD in the drive when you were running tasksel standalone. I've identified a case that can make it hang, if apt wants something from the CD and it's not in the drive. Yes, you are right - there was no CD in the drive. I'm unsure how this would happen when the installer is running. It could happen if you managed to eject the CD in the midst of the install, that's all I can think of. The install is in two halves. At the end of the first half you are prompted to remove the CD. The system then reboots from the hard disc. So, the second half of the install proceeds without a CD in the drive. I think this accounts for the problem. There is no message about re-inserting the CD as far as I can remember. I don't recall this happening with previous installers. Why can't the installer just comment out both the CD source lines in /etc/apt/source.list? Surely the CD is no longer needed once the remote mirror is added? -- Chris. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386244: tasksel 'Desktop environment' task hangs
Chris Lale wrote: The install is in two halves. No, etch has not had a two-stage install since early this year. Why can't the installer just comment out both the CD source lines in /etc/apt/source.list? Surely the CD is no longer needed once the remote mirror is added? That depends on what kind of CD it is. -- see shy jo signature.asc Description: Digital signature
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 2log 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 ? Ss 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 ? Ss 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 2log 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
Bug#386244: tasksel 'Desktop environment' task hangs
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. Are you possibly trying to use tasksel to install from a full CD? 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 2log -- see shy jo signature.asc Description: Digital signature
Bug#386244: tasksel 'Desktop environment' task hangs
Package: tasksel Version: 2.53 Severity: normal 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. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-486 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages tasksel depends on: ii aptitude 0.4.2-1terminal-based apt frontend ii debconf [debconf-2.0] 1.5.3 Debian configuration management sy ii liblocale-gettext-perl1.05-1 Using libc functions for internati ii tasksel-data 2.53 Official tasks used for installati tasksel recommends no packages. -- debconf information: tasksel/title: tasksel/first: tasksel/tasks: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]