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

Bug#697765: related bug 592216 is still valid at wheezy



On Thu, Apr 17, 2014 at 04:36:14PM -0300, Andre Felipe Machado wrote:
> Hello, Aurelien

Hi,

> I made a fresh net-install of Debian 7.4 on a virtualbox VM, configuring for
> only en_US.UTF-8.
> After finishing installation, verified the /etc/default/locale.gen containing
> only the en_US.UTF-8 entry.
> Created the /var/cache/debconf/locale.seed file with the previously captured
> content as described at previous email.

Thanks for the test.

> 
> root@debianlocale:/var/cache/debconf# /usr/bin/debconf-set-selections
> /var/cache/debconf/locale.seed; /usr/sbin/dpkg-reconfigure
> --frontend=noninteractive locales
> Generating locales (this might take a while)...
>   en_US.UTF-8... done
> Generation complete.

This is normal, the configuration file have higher priority than
debconf.

> Then moved away the /etc/default/locale.gen
> 
> root@debianlocale:/var/cache/debconf# /bin/mv /etc/locale.gen /tmp/ ;
> /usr/bin/debconf-set-selections /var/cache/debconf/locale.seed;
> /usr/sbin/dpkg-reconfigure --frontend=noninteractive locales
> Generating locales (this might take a while)...
>   en_US.ISO-8859-1... done
>   en_US.ISO-8859-15... done
>   en_US.UTF-8... done
>   pt_BR.ISO-8859-1... done
>   pt_BR.UTF-8... done
> Generation complete.

After removing the configuration file, the debconf values are taken into
account as expected.

> *** update-locale: Warning: LANGUAGE ("en_US:en") is not compatible with LANG
> (pt_BR.UTF-8). Disabling it.

Here the new debconf value is not taken into account because there is
already a value in /etc/default/locale.

> root@debianlocale:/var/cache/debconf# 
> 

For me everything works as expected, that is the values are taken from
debconf only if there are not already defined in the configuration file.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: