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). Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]