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

Bug#425610: marked as done (locales: dpkg-reconfigure fails: unexpected end of file)



Your message dated Thu, 12 Jul 2007 15:30:12 +0200
with message-id <20070712133012.GC4509@artemis.corp>
and subject line Bug#425610: locales: dpkg-reconfigure fails: unexpected end of file
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)

--- Begin Message ---
Package: locales
Version: 2.5-8
Severity: normal

$ sudo env DEBIAN_FRONTEND=readline dpkg-reconfigure locales
Configuring locales
-------------------

Locales are a framework to switch between multiple languages and allow users to
use their language, country, characters, collation order, etc.

Please choose which locales to generate. UTF-8 locales should be chosen by
default, particularly for new installations. Other character sets may be useful
for backwards compatibility with older systems and software.

  1. All locales                      200. fr_LU ISO-8859-1
<snip>
  199. fr_FR@euro ISO-8859-15

(Enter the items you want to select, separated by spaces.)

Locales to be generated: 90 91 127


Many packages in Debian use locales to display text in the correct language for
the user. You can choose a default locale for the system from the generated
locales.

This will select the default language for the entire system. If this
system is a multi-user system where not all users are able to speak
the default language, they will experience difficulties.

  1. None  2. de_DE.UTF-8  3. de_DE.UTF-8@euro  4. en_US.UTF-8

Default locale for the system environment: 2


Generating locales (this might take a while)...
  de_DE.UTF-8... done
  de_DE.UTF-8@euro... done
  en_US.UTF-8... done
Generation complete.
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
$


-- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages locales depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6 [glibc-2.5-1]           2.5-8      GNU C Library: Shared libraries

locales recommends no packages.

-- debconf information:
* locales/default_environment_locale: de_DE.UTF-8
* locales/locales_to_be_generated: de_DE.UTF-8 UTF-8, de_DE.UTF-8@euro UTF-8, en_US.UTF-8 UTF-8


--- End Message ---
--- Begin Message ---
On Thu, Jul 12, 2007 at 02:38:59PM +0200, Marc Haber wrote:
> On Wed, May 30, 2007 at 04:16:15PM +0200, Marc Haber wrote:
> > On Wed, May 30, 2007 at 11:11:02AM +0200, Aurelien Jarno wrote:
> > > I am unable to reproduce this bug. Could you please add a -x to the
> > > first line of /var/lib/dpkg/info/locales.postinst (after #! /bin/sh) and
> > > rerun it again? This should tell us the location of the problem.
> > 
> > $ sudo /usr/sbin/update-locale LANG=de_DE.UTF-8
> > sh: -c: line 0: unexpected EOF while looking for matching "'
> > sh: -c: line 1: syntax error: unexpected end of file
> > $
> > 
> > After stracing, it looks like that update-locale (perl) at some place
> > does
> > 
> > execve("/bin/sh", ["sh", "-c", "LANG= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= LC_ALL= LANG=de_DE.UTF-8 LC_MESSAGES=\"en_US.UTF-8 locale charmap 2>&1"], [/* 13 vars */]) = 0
> > 
> > (note the missing quote after en_US.UTF-8 in the setting of
> > LC_MESSAGES) which finally makes the shell barf.
> 
> My fault. I had
> LC_MESSAGES="en_US.UTF-8
> in /etc/default/locales (note the missing quote).

  np :)

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpSGUuWX6dMt.pgp
Description: PGP signature


--- End Message ---

Reply to: