On Mon, Jan 25, 2010 at 10:23:31PM +0100, Petter Reinholdtsen wrote:
> 
> Package:  dictionaries-common
> Version:  1.4.0
> Severity: important
> User:     [email protected]
> 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. :)

Actual default priority during installation is 'medium'. 'Critical'
priority should only be used when current selected value is not available, 
that is an error that needs recovery.

You should not need to pre-seed anything, language will be automagically 
selected from debian-installer/language and debian-installer/country values
in a language_exact_match/language_generic_match/english/nothing basis from
the to be installed stuff.

Can you please provide this info:

 - pre-seeded value.
 - debian-installer/language
 - debian-installer/country
 - Wordlists to be installed

Thanks in advance,

-- 
Agustin



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

Reply via email to