Your message dated Sun, 05 Jan 2003 20:15:39 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Processed: patch
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Nov 2002 19:31:04 +0000
>From [EMAIL PROTECTED] Fri Nov 08 13:31:04 2002
Return-path: <[EMAIL PROTECTED]>
Received: from pat.uio.no [129.240.130.16] (7411)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18AEqN-00015C-00; Fri, 08 Nov 2002 13:31:03 -0600
Received: from saruman.uio.no ([129.240.201.202])
        by pat.uio.no with esmtp (Exim 2.12 #7)
        id 18AEqJ-0003Um-00; Fri, 8 Nov 2002 20:30:59 +0100
Received: from pre by saruman.uio.no with local (Exim 2.12 #7)
        id 18AEqI-0001b1-00; Fri, 8 Nov 2002 20:30:58 +0100
To: [EMAIL PROTECTED]
Subject: locales: impossible to configure noninteractive on first time install
From: Petter Reinholdtsen <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Sender: Petter Reinholdtsen <[EMAIL PROTECTED]>
Date: Fri, 8 Nov 2002 20:30:59 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=0.0 required=5.0
        tests=PATCH_UNIFIED_DIFF,SPAM_PHRASE_00_01
        version=2.41
X-Spam-Level: 


Package: locales
Version: 2.2.5-14

At the moment it is impossible to preconfigure fthe locales package
for the first time install.

I would like to supply a debconf value in the
locales/locales_to_be_generated variable, and get the locales package
to create /etc/locale.gen based on the content of this debconf answer.
This fail, because locales.config will reset the value to '' before
asking debconf for the answer.  The following patch fixes the
situation for the first time install, while still using the content of
/etc/locale.gen if it exists.

Please fix this in Woody too.  The Skolelinux distribution needs it.

--- locales.config.orig Fri Nov  8 20:25:40 2002
+++ locales.config      Fri Nov  8 20:26:09 2002
@@ -175,6 +175,7 @@
 if test -f /etc/locale.gen; then
   LG=/etc/locale.gen
   SELECTED_LOCALES=$(egrep -v "^#|^$" $LG | tr "\n" "," | sed -e "s/,/, /g" -e
"s/, *$//")
+  db_set locales/locales_to_be_generated "${SELECTED_LOCALES}"
 else
   LG=/dev/null
 fi
@@ -184,7 +185,6 @@
 . /usr/share/debconf/confmodule
 db_version 2.0

-db_set locales/locales_to_be_generated "${SELECTED_LOCALES}"
 db_subst locales/locales_to_be_generated locales "${SUPPORTED_LOCALES}"
 db_capb multiselect
 db_input medium locales/locales_to_be_generated || true

---------------------------------------
Received: (at 168345-done) by bugs.debian.org; 5 Jan 2003 11:15:42 +0000
>From [EMAIL PROTECTED] Sun Jan 05 05:15:41 2003
Return-path: <[EMAIL PROTECTED]>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18V8kn-0000XS-00; Sun, 05 Jan 2003 05:15:41 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
        by oris.opensource.gr.jp (Postfix) with ESMTP
        id 67D3FC33C6; Sun,  5 Jan 2003 20:15:39 +0900 (JST)
Date: Sun, 05 Jan 2003 20:15:39 +0900
Message-ID: <[EMAIL PROTECTED]>
From: GOTO Masanori <[EMAIL PROTECTED]>
To: Petter Reinholdtsen <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Processed: patch
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-10.6 required=5.0
        tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,
              USER_AGENT
        version=2.41
X-Spam-Level: 

At Fri, 08 Nov 2002 15:18:08 -0600,
Debian Bug Tracking System wrote:
> > tags 168345 + patch
> Bug#168345: locales: impossible to configure noninteractive on first time install
> Tags added: patch

> At the moment it is impossible to preconfigure fthe locales package
> for the first time install.
> 
> I would like to supply a debconf value in the
> locales/locales_to_be_generated variable, and get the locales package
> to create /etc/locale.gen based on the content of this debconf answer.
> This fail, because locales.config will reset the value to '' before
> asking debconf for the answer.  The following patch fixes the
> situation for the first time install, while still using the content of
> /etc/locale.gen if it exists.

Thanks, this bug is fixed in 2.3.1-6.

> Please fix this in Woody too.  The Skolelinux distribution needs it.

Hmm, it's not RC bug, we apply it hard for woody.
Could you apply it for your distro locally?

Regards,
-- gotom


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

Reply via email to