On Tue, Apr 14, 2009 at 12:38:56 -0400, Celejar wrote:
> On Mon, 13 Apr 2009 08:40:04 +0100 Bob Cox wrote:

[...]

> > Just a thought: you have anything in /etc/environment ?
> 
> Very interesting; my /etc/environment contains:
> 
> LANG="en_US.UTF-8"
> 
> [I have no idea how that got there; I'm pretty sure I didn't enter it
> manually.]

Is your system old enough so that the file could be a legacy from
previous runs of "dpkg-reconfigure locales"? 

> When I comment out the line, the locale output under sudo -i
> is correct, with no extra quotes.

AFAIK, /etc/environment is depreciated in favor of /etc/default/locale.
It seems that the new file automatically gets configured without the
problematic quotes around the locale names. Your problem suggests that
"sudo -i" still uses settings from /etc/environment, which might be a
bug. (I am not sure about the official Debian policy regarding
/etc/environment and /etc/default/locale.)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to