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

Bug#620134: marked as done (locales/locales_to_be_generated is not read when reconfiguring locales)



Your message dated Fri, 1 Apr 2011 23:08:12 +0200
with message-id <20110401210812.GB16226@hall.aurel32.net>
and subject line Re: Bug#620134: locales/locales_to_be_generated is not read when reconfiguring locales
has caused the Debian Bug report #620134,
regarding locales/locales_to_be_generated is not read when reconfiguring locales
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
620134: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620134
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: locales
Version: 2.11.2-10
Severity: normal

hi
when i want to reconfigure locales by setting locales_to_be_generated 
with debconf-set-selections, the new value is never read because 
locales.config rewrites locales_to_be_generated to languages 
selected in /etc/locale.gen.
so using debconf is unuseful.

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages locales depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  libc6 [glibc-2.11-1]          2.11.2-10  Embedded GNU C Library: Shared lib

locales recommends no packages.

locales suggests no packages.

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Wed, Mar 30, 2011 at 03:15:19PM +0200, Sylvain Ferriol wrote:
> Package: locales
> Version: 2.11.2-10
> Severity: normal
> 
> hi
> when i want to reconfigure locales by setting locales_to_be_generated 
> with debconf-set-selections, the new value is never read because 
> locales.config rewrites locales_to_be_generated to languages 
> selected in /etc/locale.gen.
> so using debconf is unuseful.
> 

This is actually what the policy mandates, also known as "debconf is not
a registry". The locales package reads /etc/locale.gen and not the 
debconf templates before asking the user so that changes to this
configuration files are not lost. If you want to automatically make 
changes to the locales configuration, you have to modify /etc/locale.gen
before reconfiguring the package.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: