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

Bug#321638: base-config: Identical translation of two menu entries confuses base-config



Package: base-config
Version: 2.53.10
Severity: normal

We recently got a bug report for debian-edu, claiming the installation
failed completely when installing using French as the default
language, <URL:http://bugs.skolelinux.no/show_bug.cgi?id=955>.  After
much debugging, we discovered the source of the problem.  It is in the
French translation of the base-config menues.

The problem was that two menu entries had the same french translation:

  #. Type: text
  #. Description
  #: ../debian-edu-install.templates:91
  msgid "Set up packages (debian-edu)"
  msgstr "Installer les paquets sélectionnés (debian-edu)"

  #. Type: text
  #. Description
  #: ../debian-edu-install.templates:103
  msgid "Select packages to install (debian-edu)"
  msgstr "Installer les paquets sélectionnés (debian-edu)"

These are the templates in question:

  Template: base-config/menu/debian-edu-config
  Type: text
  _Description: Set up packages (debian-edu)

  Template: base-config/menu/debian-edu-inst
  Type: text
  _Description: Select packages to install (debian-edu)

This seem to confuse base-config so much he skipped he
debian-edu-config menu entry.

I suspect this indicate a dangerous design in base-config, having
base-config depend on the translated text instead of the original
text, and thought it best to report the problem here in case others
run into a similar problem.

We solve it for now in debian-edu by changing the translated text.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages base-config depends on:
ii  adduser                 3.63             Add and remove users and groups
ii  apt                     0.5.28.6         Advanced front-end for dpkg
ii  bsdutils                1:2.12p-4        Basic utilities from 4.4BSD-Lite
ii  console-data            2002.12.04dbs-49 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-56    Linux console and font utilities
ii  debconf                 1.4.30.13        Debian configuration management sy
ii  debianutils             2.8.4            Miscellaneous utilities specific t
ii  gettext-base            0.14.4-2         GNU Internationalization utilities
ii  passwd                  1:4.0.3-31sarge5 change and administer password and

-- debconf information:
  tzconfig/choose_country_zone_single: true
* tzconfig/select_zone: Oslo
  tzconfig/verify_choices: true
* apt-setup/another: false
  base-config/late_command:
  base-config/start-display-manager: true
* apt-setup/directory: /debian/
  base-config/menu/hostname:
* apt-setup/cd/another: false
  apt-setup/badedit:
  mirror/suite: testing
  apt-setup/baddir:
  base-config/menu/pkgsel:
  base-config/menu/timezone:
* apt-setup/hostname: ftp.no.debian.org
  base-config/menu/pon:
* tzconfig/gmt: true
  apt-setup/title:
  mirror/http/proxy:
* apt-setup/contrib: true
  base-config/early_command:
* tzconfig/geographic_area: Europe
* apt-setup/cd/dev: /dev/cdrom
* apt-setup/country: Norway
* apt-setup/uri_type: cdrom
  apt-setup/not-mirror:
  apt-setup/security-updates-failed:
  apt-setup/cd/bad:
  base-config/menu/mta:
  tzconfig/choose_country_zone/BR: East
  base-config/intro:
* tzconfig/select_zone/Europe: Oslo
* apt-setup/security-updates: false
* base-config/run-tasksel: false
  base-config/title:
  base-config/menu/finish:
  debian-installer/language: nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en_GB:en
* apt-setup/mirror: ftp.no.debian.org
  base-config/menu/apt-setup:
  base-config/menu/keyboard:
  tzconfig/title:
  debian-installer/country: NO
  base-config/install-problem: true
* tzconfig/change_timezone: true
* base-config/pkgsel: nothing - you may manually run apt-get or any of the above later
* apt-setup/non-free: true
* apt-setup/non-us: true
  base-config/menu/intro:
  base-config/menu/passwd:
  base-config/login:
  base-config/main-menu: Fullfør oppsettet av grunnsystemet
* base-config/run-dselect: false
  debian-installer/keymap: no-latin1
* base-config/remove-pcmcia: true
  apt-setup/badsource:
* base-config/use-ppp: false
  tzconfig/choose_country_zone/US: Eastern
  base-config/get-hostname: tjener.intern
  tzconfig/choose_country_zone_multiple: Europe/Oslo
  tzconfig/choose_country_zone/CA: Eastern
  base-config/menu/shell:
* apt-setup/distribution: stable
  base-config/invalid-hostname:



Reply to: