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

Bug#648781: debian-installer: unattended installation using preseed is interrupted by installer main menu popping up



Johannes Schauer wrote:
> Here is the syslog from the point where the menu appeared:
> 
> http://mister-muffin.de/p/a1nJ.txt

The relevant part is that this was an installation of unstable, there is
a perl transition going on, perl is badly busted, and
post-base-installer hooks begin to fail:

(localechooser)

Nov 14 21:06:05 in-target: debconf (developer): starting /usr/bin/debconf-apt-progress --no-progress --logstderr -- apt-get -q -y --no-remove install locales
Nov 14 21:06:07 in-target: debconf (developer): <-- GET debconf/priority
Nov 14 21:06:07 in-target: debconf (developer): --> 0 high
Nov 14 21:06:08 in-target: Reading package lists...
Nov 14 21:06:08 in-target: 
Nov 14 21:06:08 in-target: Building dependency tree...
Nov 14 21:06:11 in-target: 
Nov 14 21:06:12 in-target: You might want to run 'apt-get -f install' to correct these:
Nov 14 21:06:12 in-target: The following packages have unmet dependencies:
Nov 14 21:06:12 in-target:  liblocale-gettext-perl : PreDepends: perlapi-5.12.4 but it is not installable
Nov 14 21:06:12 in-target:  libtext-charwidth-perl : Depends: perlapi-5.12.4 but it is not installable
Nov 14 21:06:12 in-target:  libtext-iconv-perl : Depends: perlapi-5.12.4 but it is not installable
Nov 14 21:06:12 in-target:  perl : Depends: perl-modules (>= 5.14.2-3) but 5.12.4-6 is to be installed
Nov 14 21:06:12 in-target: E
Nov 14 21:06:12 in-target: : 
Nov 14 21:06:12 in-target: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nov 14 21:06:18 localechooser: error: the command 'validlocale' is not available

(preseed)

Nov 14 21:06:22 preseed: /usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Locale/gettext/gettext.so: undefined symbol: Perl_Gthr_key_ptr
Nov 14 21:06:22 debconf: --> SUBST preseed/load_error LOCATION /var/lib/preseed/log
Nov 14 21:06:22 debconf: Adding [LOCATION] -> [/var/lib/preseed/log]
Nov 14 21:06:22 debconf: <-- 0
Nov 14 21:06:22 base-installer: /usr/lib/post-base-installer.d/05preseed: 
Nov 14 21:06:22 base-installer: return: line 16: Illegal number: tasksel
Nov 14 21:06:22 base-installer: warning: /usr/lib/post-base-installer.d/05preseed returned error code 2

(tzsetup)

Nov 14 21:06:23 base-installer: warning: /usr/lib/post-base-installer.d/05tzsetup returned error code 10

Despite all these failures, bootstrap-base doesn't display an error, it
just finally, does exit 10. Based on the screenshot, it leaves a
progress bar up, so this must be an unexpected exit path?

Nov 14 21:06:25 main-menu[243]: INFO: Menu item 'bootstrap-base' succeeded but requested to be left unconfigured.

And then this debconf protocol corruption happens somehow while the main
menu is being built. I'm don't know what's causing it; it may be due to
file-preseed.isinstallable hiding that menu item? (This is almost as if
there are two things trying to talk to cdebconf at the same time.)

Nov 14 21:06:41 debconf: --> GET preseed/file
Nov 14 21:06:41 debconf: <-- 0 
Nov 14 21:06:41 debconf: --> METAGET debian-installer/file-preseed/title Description METAGET debian-installer/load-cdrom/title Description
Nov 14 21:06:41 debconf: <-- 20 Incorrect number of arguments

Something is surely corrupted in the debconf protocol at this point,
because lots of things end up in the main menu that are replies to other
debconf commands than the ones that are used to build it:
"OK", "", the url to the preseed file, "false", "false". 

And that corresponds exactly to what's being done by isinstallable
scripts and other things while the menu is built:

Nov 14 21:06:25 debconf: --> X_SAVE
Nov 14 21:06:41 debconf: <-- 0 OK

Nov 14 21:06:41 debconf: --> GET preseed/file
Nov 14 21:06:41 debconf: <-- 0 

Nov 14 21:06:41 debconf: --> GET preseed/url
Nov 14 21:06:41 debconf: <-- 0 http://mister-muffin.de/debian/preseed2.txt

Nov 14 21:06:41 debconf: --> GET rescue/enable
Nov 14 21:06:41 debconf: <-- 0 false

Nov 14 21:06:42 debconf: --> GET grub-installer/skip
Nov 14 21:06:42 debconf: <-- 0 false

How does main-menu see these replies? Something very wrong must be
happening with cdebconf at this point.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: