2010/1/30 Petter Reinholdtsen <[email protected]>:
> [Agustin Martin]
>
>> If the problem is reproduced, that may give us information.
>
> I added DICT_COMMON_DEBUG=1 to the installation, and got these
> dictionary-common related messages in the installation syslog.  I hope
> this help.

Thanks a lot, this looks very interesting.

I do not speak norwegian, but from what I think is happening, seems
that installation is done in two different apt runs, in the first one
aspell dicts and dictionaries-common are installed and fully
configured with no ispell dictionaries and wordlists present and is in
a second run where  ispell dictionaries and wordlists are installed,
but all the language selection stuff is already done. This is the
problem, dictionaries-common and ispell dictionaries/wordlists must be
installed in the same apt run for things to work properly..

IIRC, this is not the way debian-installer currently works, of I would
have been flooded with related bug reports.

One curiosity, which are values for dictionaries-common/default-ispell
and dictionaries-common/default-wordlist. I guess that first is set to
manual (second should be set to Bokmal after the debconf question)
instead of being set to an actual dictionary.

Also I see that you install 13 ispell dictionaries, not sure if that
is what you want, and seems that some ancient localization stuff
(localization-config?) is flying around.

Please confirm if this is what is happening.

Thanks again for the feedback. Details follow,

Preconfiguring the initial run ...
> [...]
> Jan 29 21:15:39 in-target: Forhåndsoppsetter pakker ...
> Jan 29 21:15:39 in-target: dictionaries-common: (re)configuring ...
> Jan 29 21:15:39 in-target: LANG is set to nb_NO.UTF-8
> Jan 29 21:15:39 in-target: ** dc_debconf_select: ispell, critical, 
> dictionaries-common/default-ispell
> Jan 29 21:15:39 in-target:    new choices:[]
> Jan 29 21:15:39 in-target:    old choices:[]
> Jan 29 21:15:39 in-target: ** dictionaries-common.config: Checking some real 
> values for dictionaries-common/default-ispell
> Jan 29 21:15:39 in-target:    Real new Choices-C: , Manual symlinks setting
> Jan 29 21:15:39 in-target:    Real new value: bokmål (Bokmal Norwegian)
> Jan 29 21:15:39 in-target: ---
> Jan 29 21:15:39 in-target: ** dc_debconf_select: wordlist, critical, 
> dictionaries-common/default-wordlist
> Jan 29 21:15:39 in-target:    new choices:[]
> Jan 29 21:15:39 in-target:    old choices:[]
> Jan 29 21:15:39 in-target: ** dictionaries-common.config: Checking some real 
> values for dictionaries-common/default-wordlist
> Jan 29 21:15:39 in-target:    Real new Choices-C: , Manual symlinks setting
> Jan 29 21:15:39 in-target:    Real new value:
> Jan 29 21:15:39 in-target: ---
> Jan 29 21:15:39 in-target: dictionaries-common: (re)configuring ...Done.

This seems done in an initial apt run, without any wordlist or ispell
dictionary in the installation list for that run. That way,
dictionaries-common has no possibility of knowing through the debconf
information which ispell dictionaries or wordlists are to be
installed. Furthermore, ispell value seems to have been preseeded some
way (Is ancient localization-config used?).

> Jan 29 21:16:45 in-target: Setter opp dictionaries-common (1.4.0) ...
> Jan 29 21:16:45 in-target: dictionaries-common: (re)configuring ...

Now dictionaries-common is configured, no ispell dictionaries or
wordlists still unpacked.

> Jan 29 21:16:45 in-target: ** dc_debconf_select: ispell, critical, 
> dictionaries-common/default-ispell
> Jan 29 21:16:45 in-target:    new choices:[]
> Jan 29 21:16:45 in-target:    old choices:[]
> Jan 29 21:16:45 in-target: ** dictionaries-common.config: Checking some real 
> values for dictionaries-common/default-ispell
> Jan 29 21:16:45 in-target:    Real new Choices-C: , Manual symlinks setting
> Jan 29 21:16:45 in-target:    Real new value: bokmål (Bokmal Norwegian)
> Jan 29 21:16:45 in-target: ---
> Jan 29 21:16:45 in-target: ** dc_debconf_select: wordlist, critical, 
> dictionaries-common/default-wordlist
> Jan 29 21:16:45 in-target:    new choices:[]
> Jan 29 21:16:45 in-target:    old choices:[]
> Jan 29 21:16:45 in-target: ** dictionaries-common.config: Checking some real 
> values for dictionaries-common/default-wordlist
> Jan 29 21:16:45 in-target:    Real new Choices-C: , Manual symlinks setting
> Jan 29 21:16:45 in-target:    Real new value:
> Jan 29 21:16:45 in-target: ---
> Jan 29 21:16:45 in-target: dictionaries-common: (re)configuring ...Done.

Still no ispell dictionaries or wordlists installed

> Jan 29 21:16:45 in-target: update-default-ispell: No ispell elements 
> installed. Manual forced

No ispell dictionaries installed, set to manual mode.

Now another apt pre-configuration run starts, this time with all
wordlists and ispell dictionaries, in a separate run from that where
dictionaries-common was installed and configured.. Everything is now
shown properly, but since value set for wordlists is empty, and there
is no match for it priority is set to critical and question asked. I
guess there was no question for ispell dictionaries because there was
a value for it, however was set to manual because no ispell dictionary
was still present. That is surely not what you want.

For wordlists, proposed value is Bokmaal because it goes first
alphabetically, but that is just luck.
 If there were no value for ispell dictionary first entry "american
(American English)" would have been selected.

> ..  22:07:17 in-target: Forhåndsoppsetter pakker ...
> Jan 29 22:07:19 in-target: ** dc_debconf_select: ispell, medium, 
> dictionaries-common/default-ispell
> Jan 29 22:07:19 in-target:    new choices:[american (American English), 
> bokmål (Bokmal Norwegian), british (British English), castellano8 (Spanish 8 
> bit), catala8 (Catalan 8 bits), danish (Den Store Danske Ordliste), deutsch 
> (New German -tex mode-),
> Jan 29 22:07:19 in-target:    old choices:[]
> Jan 29 22:07:19 in-target: -------- [dico_get_all_choices] start --------
> Jan 29 22:07:19 in-target:  * Packages with languages: iamerican, ibrazilian, 
> ibritish, icatalan, idanish, idutch, ifinnish-large, ifrench, iitalian, 
> ingerman, inorwegian, iportuguese, ispanish
> Jan 29 22:07:19 in-target:  * Packages with elanguages:
> Jan 29 22:07:19 in-target: - Choices:
> Jan 29 22:07:19 in-target: [american (American English), bokmål (Bokmal 
> Norwegian), british (British English), castellano8 (Spanish 8 bit), catala8 
> (Catalan 8 bits), danish (Den Store Danske Ordliste), deutsch (New German 
> -tex mode-), deutsch (New Ge
> Jan 29 22:07:19 in-target: - Echoices:
> Jan 29 22:07:19 in-target: [american (American English), bokmål (Bokmal 
> Norwegian), british (British English), castellano8 (Spanish 8 bit), catala8 
> (Catalan 8 bits), danish (Den Store Danske Ordliste), deutsch (New German 
> -tex mode-), deutsch (New Ge
> Jan 29 22:07:19 in-target: -------- [dico_get_all_choices] end --------
[...]
> Jan 29 22:07:20 in-target: ** dc_debconf_select: wordlist, critical, 
> dictionaries-common/default-wordlist
> Jan 29 22:07:20 in-target:    new choices:[bokmål (Bokmal Norwegian), nynorsk 
> (Standard Norwegian)]
> Jan 29 22:07:20 in-target:    old choices:[]
> Jan 29 22:07:20 in-target: -------- [dico_get_all_choices] start --------
> Jan 29 22:07:20 in-target:  * Packages with languages: wnorwegian
> Jan 29 22:07:20 in-target:  * Packages with elanguages:
> Jan 29 22:07:20 in-target: - Choices:
> Jan 29 22:07:20 in-target: [bokmål (Bokmal Norwegian), nynorsk (Standard 
> Norwegian)]
> Jan 29 22:07:20 in-target: - Echoices:
> Jan 29 22:07:20 in-target: [bokmål (Bokmal Norwegian), nynorsk (Standard 
> Norwegian)]
> Jan 29 22:07:20 in-target: -------- [dico_get_all_choices] end --------

and now ispell dictionaries and wordlists are configured,

> Jan 29 23:28:31 in-target: Setter opp wnorwegian (2.0.10-3.2) ...
> [...]
> Jan 29 23:29:09 in-target: Setter opp iamerican (3.1.20.0-7) ...

Cheers,

-- 
Agustin



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

Reply via email to