On Fri, 2015 Feb 20 15:00+0100, Agustin Martin wrote:
>
> Strange, I could only reproduce this without apt-utils. In a chroot

Hmm. I'm able to reproduce this fairly easily. Below, when I get the
debconf dialog, "american" is selected. (The warning is new to me,
however; I don't believe I've seen that before.)

This is starting from a minimal Jessie install:

    # dpkg -l | grep apt-utils
    ii  apt-utils                     1.0.9.6                     i386         
package management related utility programs

    # echo 
"dictionaries-common@dictionaries-common/default-wordlist@select@english 
(Webster's Second International English wordlist)" | tr @ '\t' | 
debconf-set-selections 

    # apt-get install miscfiles
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      miscfiles
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1,208 kB of archives.
    After this operation, 3,069 kB of additional disk space will be used.
    Get:1 http://apt-cacher.example.com:3142/debian/ jessie/main miscfiles all 
1.4.2.dfsg.1-9.1 [1,208 kB]
    Fetched 1,208 kB in 0s (4,308 kB/s)
    Preconfiguring packages ...
    [wordlist,dico_get_default_value]: dictionaries-common warning:
     debconf question "dictionaries-common/default-wordlist" value did not 
match that in "/var/cache/dictionaries-common/wordlist-default"
     Changing debconf value "english (Webster's Second International English 
wordlist)" to "american (American English)"
    Selecting previously unselected package miscfiles.
    (Reading database ... 16547 files and directories currently installed.)
    Preparing to unpack .../miscfiles_1.4.2.dfsg.1-9.1_all.deb ...
    Unpacking miscfiles (1.4.2.dfsg.1-9.1) ...
    Setting up miscfiles (1.4.2.dfsg.1-9.1) ...
    Processing triggers for dictionaries-common (1.23.17) ...

> dictionaries-common should support this. Also, note that usually it is
> not other package who does the preseed when used, but some sort of
> "master" process during the installation.

That's indeed what I'm doing; a master script runs debconf-set-
selections first and then "apt-get install" as needed.

Incidentally... is it supported to set a debconf value of just e.g.
"english" or "american"---that is, minus the descriptive text in
parentheses? I can't help but feel that only the first word should
matter, but the debconf choice values including the parentheticals does
imply otherwise.


-- 
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