Bug#282632: base-config: Appears to "hang" during an automated Welsh install

2004-11-24 Thread Christian Perrier

> The general problem here is that I use the exact same preseed files
> (see the attachments I finally sent to the BTS) all over my localized
> automated installs...and it only fails for Welsh.


I got it.

>From base-config.log:

debconf (db configdb): trying to getfield(apt-setup/country value) ..
debconf (db configdb): getfield done by config
debconf (developer): --> 0 rhoi gwybodaeth â llawAustralia
debconf (developer): <-- SET apt-setup/country rhoi gwybodaeth â llawAustralia
debconf (db configdb): trying to setfield(apt-setup/country value rhoi 
gwybodaeth â llawAustralia) ..
debconf (db configdb): passing to config ..


In po/cy.po for base-config:

#. translators: there MUST be a comma followed by a space at the end
#. of your translation, or things will break!
#: ../apt-setup:76
msgid "enter information manually, "
msgstr "rhoi gwybodaeth â llaw"

Please note the missing comma:-)

Daf, please add one beer (Welsh taste allowed) on my beer credit...:-)

Happy Thanksgiving, Joey...




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#282632: base-config: Appears to "hang" during an automated Welsh install

2004-11-24 Thread Christian Perrier
Quoting Joey Hess ([EMAIL PROTECTED]):

> Christian Perrier wrote:
> root  2905  0.0  0.2  4256 1304 pts/0S+   14:21   0:00 perl -ne 
> ???BEGIN { $/="\n\n"; $type=shift; $mirror=shift }???if (/Site: $mirror/ && 
> /Archive-$type: (.*)\n/) {print $1;exit;???}?? ftp 
> /usr/lib/base-config/Mirrors.masterlist

> It seems that mirror_dir is being called in apt-setup with an empty $2.
> his could only happen if apt-setup/mirror was somehow not set, and if
> you're using manual mirror entry.

I use a manual mirror, yes

d-i mirror/protocol select ftp
d-i mirror/country  string enter information manually
d-i mirror/ftp/hostname string dris-smpsrv.onera
d-i mirror/ftp/directorystring /debian
d-i mirror/http/hostnamestring dris-smpsrv.onera
d-i mirror/http/directory   string /debian
d-i mirror/http/proxy   string http://proxy.onera:80/
base-config apt-setup/uri_type  select ftp
base-config apt-setup/country   select enter information manually
base-config apt-setup/hostname  string dris-smpsrv.onera
base-config apt-setup/directory string /debian
base-config apt-setup/another   boolean false
#base-configapt-setup/non-free  boolean true
#base-configapt-setup/contrib   boolean true
base-config apt-setup/security-updates  boolean false




BTW, you forgot the attachments.


I just sent them.

The general problem here is that I use the exact same preseed files
(see the attachments I finally sent to the BTS) all over my localized
automated installs...and it only fails for Welsh.


One may notice that Welsh has a 2nd stage which does not look very
well : no borders around dialog boxes for instance...which, in the
past, indicated some nasty problems with either framebuffer or
jfbterm. Welsh defaults to a UTF-8 locale but has no special handling
in termwrap. I suspect these problems may be linked in some way.







Bug#282632: base-config: Appears to "hang" during an automated Welsh install

2004-11-23 Thread Christian Perrier
Package: base-config
Version: the one in testing
Severity: normal

While doing one of my automated localized installs, the second stage
appeared hanged.

This happened only while doing the install in Welsh language. The very same
install, with the same preseed files, work with several (if not all) other
languages.

When "hanged", switching to vt2 gives the following output for pstree:
(sorry for the bad control characters)

init,1  
  ââatd,2377
  ââbash,2402
  â   ââpstree,2935 -ap
  ââcron,2380
  ââdhclient,2168 -e -pf /var/run/dhclient.eth0.pid -lf 
/var/run/dhclient.eth0.leases eth0
  ââ(events/0,3)
  â   ââ(aio/0,56)
  â   ââ(ata/0,212)
  â   ââ(kacpid,5)
  â   ââ(kblockd/0,43)
  â   ââ(khelper,4)
  â   ââ(pdflush,53)
  â   ââ(pdflush,54)
  ââexim4,2367 -bd -q30m
  ââgetty,2403 38400 tty3
  ââinetd,2373
  ââ(khubd,755)
  ââ(kjournald,258)
  ââklogd,2336
  ââ(kseriod,192)
  ââ(ksoftirqd/0,2)
  ââ(kswapd0,55)
  ââ(scsi_eh_0,213)
  ââ(scsi_eh_1,214)
  ââ(scsi_eh_2,218)
  ââ(scsi_eh_3,220)
  ââsyslogd,2333
  ââtermwrap,2396 /usr/sbin/termwrap /usr/sbin/base-config new
  ââscript,2461 -q -a /var/log/base-config.log -t
  ââscript,2462 -q -a /var/log/base-config.log -t
  ââbase-config,2463 /usr/sbin/base-config -i
  ââfrontend,2861 -w /usr/share/debconf/frontend 
./show-menu 1 new
  ââshow-menu,2867 -e ./show-menu 1 new
  ââapt-setup,2888 -e ./menu/apt-setup new
  ââapt-setup,2892 /usr/sbin/apt-setup probe -N
  ââapt-setup,2904 /usr/sbin/apt-setup 
probe -N
  ââperl,2905 -ne...

And ps:

USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
root 1  0.2  0.1  1528  524 ?S14:19   0:00 init [2]  
root 2  0.0  0.0 00 ?SN   14:19   0:00 [ksoftirqd/0]
root 3  0.0  0.0 00 ?S<   14:19   0:00 [events/0]
root 4  0.0  0.0 00 ?S<   14:19   0:00 [khelper]
root 5  0.0  0.0 00 ?S<   14:19   0:00 [kacpid]
root43  0.0  0.0 00 ?S<   14:19   0:00 [kblockd/0]
root53  0.0  0.0 00 ?S14:19   0:00 [pdflush]
root54  0.0  0.0 00 ?S14:19   0:00 [pdflush]
root56  0.0  0.0 00 ?S<   14:19   0:00 [aio/0]
root55  0.0  0.0 00 ?S14:19   0:00 [kswapd0]
root   192  0.0  0.0 00 ?S14:19   0:00 [kseriod]
root   212  0.0  0.0 00 ?S<   14:19   0:00 [ata/0]
root   213  0.0  0.0 00 ?S14:19   0:00 [scsi_eh_0]
root   214  0.0  0.0 00 ?S14:19   0:00 [scsi_eh_1]
root   218  0.0  0.0 00 ?S14:20   0:00 [scsi_eh_2]
root   220  0.0  0.0 00 ?S14:20   0:00 [scsi_eh_3]
root   258  0.0  0.0 00 ?S14:20   0:00 [kjournald]
root   755  0.0  0.0 00 ?S14:20   0:00 [khubd]
root  2168  0.0  0.1  1700  684 ?Ss   14:21   0:00 dhclient -e -pf 
/var/run/dhclient.eth0.pid -lf /var/run/dhclient.eth0.leases eth0
root  2333  0.0  0.1  1584  632 ?Ss   14:21   0:00 /sbin/syslogd
root  2336  0.0  0.2  2484 1468 ?Ss   14:21   0:00 /sbin/klogd
Debian-   2367  0.0  0.2  4240 1492 ?Ss   14:21   0:00 /usr/sbin/exim4 
-bd -q30m
root  2373  0.0  0.0  1520  428 ?Ss   14:21   0:00 /usr/sbin/inetd
daemon2377  0.0  0.1  1716  628 ?Ss   14:21   0:00 /usr/sbin/atd
root  2380  0.0  0.1  1788  736 ?Ss   14:21   0:00 /usr/sbin/cron
root  2396  0.0  0.2  3860 1472 tty1 Ss+  14:21   0:00 /bin/sh 
/usr/sbin/termwrap /usr/sbin/base-config new
root  2402  0.1  0.3  3940 1672 tty2 Rs   14:21   0:00 -bash
root  2403  0.0  0.0  1524  476 tty3 Ss+  14:21   0:00 /sbin/getty 
38400 tty3
root  2461  0.0  0.0  2716  500 tty1 S+   14:21   0:00 script -q -a 
/var/log/base-config.log -t
root  2462 10.2  0.1  2732  616 tty1 S+   14:21   0:20 script -q -a 
/var/log/base-config.log -t
root  2463  0.0  0.2  3636 1272 pts/0Ss+  14:21   0:00 /bin/sh 
/usr/sbin/base-config -i
root  2861  0.2  1.3  9920 7220 pts/0S+   14:21   0:00 /usr/bin/perl -w 
/usr/share/debconf/frontend ./show-menu 1 new
root  2867  0.0  0.2  3648 1344 pts/0S+   14:21   0:00 /bin/sh -e 
./show-menu 1 new
root  2888  0.0  0.2  3616 1228 pts/0S+   14:21   0:00 /bin/sh -e 
./menu/apt-setup new
root  2892  0.0  0.2  3776 1472 pts/0S+   14:21   0:00 /bin/sh 
/usr/sbin/apt-setup probe -N
root  2904  0.0  0.2  3776 1472 pts/0S+   14:21   0:00 /bin/sh 
/usr/sbin/apt-setup probe -N
root  2905  0.0  0.2  4256 1304 pts/0S+   14:21   0:00 perl -ne 
???BEGIN { $/="\n\n"; $type=shift; $mirror=shift }???if (/Site: $mirror/ && 
/Archive-$type: (.*)\n/) {print $1;???