Package:  dictionaries-common
Version:  1.4.0
Severity: important
User:     debian-...@lists.debian.org
UserTags: debian-edu

I discovered this issue when testing Debian Edu based on Squeeze,
where we want to avoid as many questions as possible during
installation, and the wordlist setting showed up with a good default.
This was the only question asked during package installation, and it
is hard to preseed when we support several langauges.  Is there a way
to avoid this question during a installation what depend on the
language selection in debian-installer to pick good defaults for
language related packages.

Why is the wordlist question asked using debconf priority 'critical'
and not 'high'?  By using 'high' it will be shown in the normal debian
installation run (which set the debconf priority limit to 'high'),
while it is still possible to avoid it by setting the limit to
'critical'.

I found this block in the code in
/usr/share/dictionaries-common/dc-debconf-select.pl:

  # Read current value of default ispell dict / wordlist. No need to have
  # critical priority if is in the new list or set to manual. Otherwise
  # ask with critical priority, name for current value is changed or
  # something wrong happened.
  my $curval  = get ($question) || "undefined";
  unless ( $priority ){
    if ( $curval =~ /^Manual.*/ or exists $newchoices{$curval} ){
      $priority = "medium";     #
    } else {
      $priority = "critical"; # No good value, ask. Do not change!!
    }
  }

I would expect 'high' to be better priority for the wordlist question.
After all, the system will run fine with any setting as far as I
know. :)

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to