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

[Bug 1371] DVD: installation hangs, needs ctrl-c to continue



http://bugs.skolelinux.org/show_bug.cgi?id=1371





--- Comment #40 from Petter Reinholdtsen <pere@hungry.com>  2009-12-14 16:35:33 ---
I tested a workaround where I simply disabled the progress handling in
ltsp-client-builder.postinst and installed using the DVD.  This patch was used:

Index: ltsp-client-builder.postinst
===================================================================
--- ltsp-client-builder.postinst        (revision 60145)
+++ ltsp-client-builder.postinst        (working copy)
@@ -88,8 +92,7 @@
 # remove progress.log from previous attempt
 test -f "$progress_log"  && rm -f "$progress_log"

-DEBIAN_PRIORITY=critical
-in-target ltsp-build-client $BUILD_CLIENT_OPTS > /tmp/ltsperror.txt 2>&1 ||
touch "$failed_stamp" && rm -f "$running_stamp" &
+in-target ltsp-build-client $BUILD_CLIENT_OPTS > /tmp/ltsperror.txt 2>&1 ||
touch "$failed_stamp" && rm -f "$running_stamp"

 # some progress handling...
 old=0

With this patch in place and DEBCONF_DEBUG=developer as a kernel option, the
installation did not hang.  I still got some bogus entries in the installation
log, but apparently the timing or something is changed and the problem went
away:

Dec 14 15:09:00 in-target: info: LTSP client installation completed
successfully
Dec 14 15:09:00 debconf: --> PROGRESS STOP
Dec 14 15:09:01 debconf: <-- 0 OK
Dec 14 15:09:01 main-menu[1067]: (process:27002): /bin/debconf-get:
Dec 14 15:09:01 main-menu[1067]: (process:27002): return:
Dec 14 15:09:01 main-menu[1067]: (process:27002): line 4:
Dec 14 15:09:01 main-menu[1067]: (process:27002): Illegal number: d-i
Dec 14 15:09:01 main-menu[1067]: (process:27002):
Dec 14 15:09:01 debconf: --> GET debconf/priority
Dec 14 15:09:01 debconf: <-- 0 critical
Dec 14 15:09:01 main-menu[1067]: INFO: Modifying debconf priority limit from
'nb_NO.UTF-8' to
 'high'
Dec 14 15:09:01 debconf: --> GET debconf/priority SET debconf/priority high
X_SAVE METAGET de
bian-installer/ethdetect/title Description
Dec 14 15:09:01 debconf: <-- 20 Incorrect number of arguments
Dec 14 15:09:01 main-menu[1067]: INFO: Falling back to the package description
for ethdetect
Dec 14 15:09:01 debconf: --> GET auto-install/enable
Dec 14 15:09:01 debconf: <-- 0 false

Notice how main-menu believed the priority was nb_NO.UTF.y and how a GET, SET,
X_SAVE and METAGET command is given on the same line resulting in "Incorrect
number of arguments" as the reply from debconf.


-- 
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


Reply to: