On 09/24/2013 05:24 PM, Niels Thykier wrote:
> Control: tags -1 moreinfo
> 
> On 2013-09-24 11:11, Steven Shiau wrote:
>> Package: localepurge
>> Version: 0.7.3
>> Severity: normal
>>
>> Dear Maintainer,
> 
> Hi,
> 
>> After upgrading to localepurge 0.7.3, the following commands do not work:
>> =========================
>> debconf-communicate -fnoninteractive localepurge <<EOF
>> set localepurge/nopurge ca_ES.UTF-8, de_DE.UTF-8
>> fset localepurge/nopurge seen true
>> EOF
>>
>> [...]
>>
>> I expect it should be changed as
>> Value: ca_ES.UTF-8, de_DE.UTF-8
>>
>> However, if I downgrade localepurge to 0.6.3, this issue is gone.
>> Did I miss something for the new version of localepurge?
>> Thanks.
>>
>> Steven.
>>
>> [...]
> 
> In 0.7.3, I (mostly[1]) fixed a problem where localepurge was not
> respecting the values stored in /etc/locale.nopurge.  It seems that you
> are working around #691431 when you should instead just update
> /etc/locale.nopurge to contain the values you want.
>   Currently, localepurge will (now) read the values from
> /etc/locale.nopurge when it is being (re-)configured (or upgraded) and
> inject those into the database before asking questions.
> 
Hi Niels,
Thanks for the quick response. Actually I can reproduce the problem in
the bootstrap chroot environment. Here is how I reproduce the problem:
1. debootstrap --verbose --arch=i386 sid sid-chroot
http://free.nchc.org.tw/debian
2. sudo chroot sid-chroot
3. apt-get update; apt-get install localepurge
   Then (1) choose not to remove all locales, (2) not to use dpkg
--path-exclude (3) selecting locale file "en_US.UTF-8"
4. grep -A3 localepurge/nopurge /var/cache/debconf/config.dat
Name: localepurge/nopurge
Template: localepurge/nopurge
Value: en_US.UTF-8
Owners: localepurge
Flags: seen
5. debconf-communicate -fnoninteractive localepurge <<EOF
> set localepurge/nopurge ca_ES.UTF-8, de_DE.UTF-8
> fset localepurge/nopurge seen true
> EOF
6. dpkg-reconfigure --priority=low --unseen-only localepurge
   Then choose also delete localized man pages.
7. grep -A3 localepurge/nopurge /var/cache/debconf/config.dat
Name: localepurge/nopurge
Template: localepurge/nopurge
Value: en_US.UTF-8
Owners: localepurge
Flags: seen

The value is still "en_US.UTF-8", which I expect it should be
"ca_ES.UTF-8, de_DE.UTF-8".

I also ran steps 5-6 again, and the step 7 step still showed me "Value:
en_US.UTF-8"

Any suggestion or idea?
Thanks.

Steven.

> ~Niels
> 
> [1] "Mostly" because I haven't fixed #563774 yet.  But from what I can
> tell, that particular bug does not apply to your case.
> 

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


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