Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Florian Kulzer
On Tue, Apr 14, 2009 at 13:35:09 -0400, Celejar wrote: > On Tue, 14 Apr 2009 18:56:43 +0200 Florian Kulzer wrote: > > 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/

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Celejar
On Tue, 14 Apr 2009 18:56:43 +0200 Florian Kulzer wrote: > 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 contai

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Florian Kulzer
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 pr

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Celejar
On Mon, 13 Apr 2009 13:10:54 +0200 Vincent Lefevre wrote: > On 2009-04-12 23:14:52 -0400, Celejar wrote: > > And here we have the problem! I noticed that when I log in as root > > directly, either to a getty or via 'su', then I don't see the problem. > > It only appears in root shells obtained w

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Celejar
On Mon, 13 Apr 2009 08:40:04 +0100 Bob Cox wrote: > On Sun, Apr 12, 2009 at 20:24:27 -0700, Kelly Clowers > (kelly.clow...@gmail.com) wrote: > > > On Sun, Apr 12, 2009 at 20:14, Celejar wrote: > > > > > > > > > So you seem to be correct; for some reason, in the sudo shell, the LC* > > > va

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Vincent Lefevre
On 2009-04-14 09:45:18 +0200, Vincent Lefevre wrote: > If you replace LANG="C" by LANG=C in /etc/environment, can you still > observe the same problem? In fact, it seems that pam_env (used by "sudo -i") assumes that double-quotes are part of the value, hence the problem. See https://bugs.launch

Re: [Partially solved] Re: Locale errors

2009-04-14 Thread Vincent Lefevre
On 2009-04-13 19:21:23 -0400, Rick Thomas wrote: > The problem is that if I remove the lines setting LANG and LANGUAGE from > /root/.bashrc > I get the following when I enter superuser via "sudo -i" ... > >> rbtho...@greybox:~$ sudo -i >> greybox:~# locale >> locale: Cannot set LC_CTYPE to default

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Rick Thomas
On Apr 13, 2009, at 6:39 PM, Vincent Lefevre wrote: On 2009-04-13 15:14:36 -0400, Rick Thomas wrote: rbtho...@greybox:~$ locale LANG=C LANGUAGE=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_M

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Vincent Lefevre
On 2009-04-13 15:14:36 -0400, Rick Thomas wrote: > rbtho...@greybox:~$ locale > LANG=C > LANGUAGE=C > LC_CTYPE="C" > LC_NUMERIC="C" > LC_TIME="C" > LC_COLLATE="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_PAPER="C" > LC_NAME="C" > LC_ADDRESS="C" > LC_TELEPHONE="C" > LC_MEASUREMENT="C" > LC_IDENTIFIC

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Rick Thomas
On Apr 13, 2009, at 3:40 AM, Bob Cox wrote: On Sun, Apr 12, 2009 at 20:24:27 -0700, Kelly Clowers (kelly.clow...@gmail.com ) wrote: On Sun, Apr 12, 2009 at 20:14, Celejar wrote: So you seem to be correct; for some reason, in the sudo shell, the LC* variables are getting extra quotes.

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Vincent Lefevre
On 2009-04-12 23:14:52 -0400, Celejar wrote: > And here we have the problem! I noticed that when I log in as root > directly, either to a getty or via 'su', then I don't see the problem. > It only appears in root shells obtained with 'sudo -i'. 'locale' in > the latter case gives: > > ~# locale

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Vincent Lefevre
I don't know if this is directly related, but I've just reported the following bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523882 sudo -i doesn't unset some environment variables -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog:

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Vincent Lefevre
On 2009-04-13 01:07:44 -0400, Rick Thomas wrote: > I ran into this too. Same problem -- extra set of quotes in the > environment variables after doing "sudo -i" . I don't have this problem. Note that my files /etc/environment and /etc/default/locale are empty, and /root/.bashrc and /root/.pro

Re: [Partially solved] Re: Locale errors

2009-04-13 Thread Bob Cox
On Sun, Apr 12, 2009 at 20:24:27 -0700, Kelly Clowers (kelly.clow...@gmail.com) wrote: > On Sun, Apr 12, 2009 at 20:14, Celejar wrote: > > > > > So you seem to be correct; for some reason, in the sudo shell, the LC* > > variables are getting extra quotes.  Any idea why?  [There's nothing > >

Re: [Partially solved] Re: Locale errors

2009-04-12 Thread Rick Thomas
I ran into this too. Same problem -- extra set of quotes in the environment variables after doing "sudo -i" . I put LANG=C LANGUAGE=C export LANG export LANGUAGE at the end of /root/.bashrc and the problem went away. But now that two of us have seen it, I think there's a bug in "sudo

Re: [Partially solved] Re: Locale errors

2009-04-12 Thread Kelly Clowers
On Sun, Apr 12, 2009 at 20:14, Celejar wrote: > So you seem to be correct; for some reason, in the sudo shell, the LC* > variables are getting extra quotes.  Any idea why?  [There's nothing > that looks interesting in root's '.bashrc'; it's basically empty.] Something to do with the preservati

[Partially solved] Re: Locale errors

2009-04-12 Thread Celejar
On Sun, 12 Apr 2009 21:14:50 -0500 "Boyd Stephen Smith Jr." wrote: > In <20090412201956.993b4446.cele...@gmail.com>, Celejar wrote: > >~# man cp > >man: can't set the locale; make sure $LC_* and $LANG are correct > > > >Or, while running aptitude: > > > >perl: warning: Setting locale failed. > >p

Re: Locale errors

2009-04-12 Thread Celejar
On Sun, 12 Apr 2009 17:51:53 -0700 Kelly Clowers wrote: > On Sun, Apr 12, 2009 at 17:19, Celejar wrote: > > Hi, > > > > I've been seeing all sorts of errors related to locales in the root > > account, e.g.: > > > > ~# man cp > > man: can't set the locale; make sure $LC_* and $LANG are correct >

Re: Locale errors

2009-04-12 Thread Boyd Stephen Smith Jr.
In <20090412201956.993b4446.cele...@gmail.com>, Celejar wrote: >~# man cp >man: can't set the locale; make sure $LC_* and $LANG are correct > >Or, while running aptitude: > >perl: warning: Setting locale failed. >perl: warning: Please check that your locale settings: > LANGUAGE = (unset), >

Re: Locale errors

2009-04-12 Thread Kelly Clowers
On Sun, Apr 12, 2009 at 17:19, Celejar wrote: > Hi, > > I've been seeing all sorts of errors related to locales in the root > account, e.g.: > > ~# man cp > man: can't set the locale; make sure $LC_* and $LANG are correct > > Or, while running aptitude: > > perl: warning: Setting locale failed. >

Locale errors

2009-04-12 Thread Celejar
Hi, I've been seeing all sorts of errors related to locales in the root account, e.g.: ~# man cp man: can't set the locale; make sure $LC_* and $LANG are correct Or, while running aptitude: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANG

Re: locale errors

2008-08-11 Thread Chris Hiestand
I wrote this quick perl script to fix this problem across multiple systems (it sets the locale to en_US.UTF-8, so you may need to modify this if you need to): #!/usr/bin/perl -w #set-debian-locales-utf8.pl sub exec_ok($$); use strict; use warnings; if (! ( `debconf-show locales` =~ m/loca

Re: locale errors

2008-08-11 Thread Gabriel Parrondo
El lun, 11-08-2008 a las 23:29 -0400, Zach Uram escribió: > Hi, > > I'm running Debian 4.0, getting these errors almost everytime install > a package. Anyone know what I must do to fix this? dpkg-reconfigure locales Make sure your locale is installed and set as default. You might also want to s

locale errors

2008-08-11 Thread Zach Uram
Hi, I'm running Debian 4.0, getting these errors almost everytime install a package. Anyone know what I must do to fix this? I want the locale set to be US English. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_

Re: locale errors

2004-03-26 Thread Colin Watson
On Fri, Mar 26, 2004 at 03:48:27PM +, Conall O'Brien wrote: > On Thu, Mar 25, 2004 at 11:17:52PM GMT, Al Davis > <[EMAIL PROTECTED]> incoherently babbled: > > If someone can explain why this happens, that would be nice. I am > > guessing that it has something to do with locale being updated,

Re: locale errors

2004-03-26 Thread Conall O'Brien
On Thu, Mar 25, 2004 at 11:17:52PM GMT, Al Davis <[EMAIL PROTECTED]> incoherently babbled: > If someone can explain why this happens, that would be nice. I am > guessing that it has something to do with locale being updated, but > some applications or dynamic libraries or something like that a

Re: locale errors

2004-03-25 Thread Ashley Graham
Chris Metzler wrote: On Thu, 25 Mar 2004 14:42:01 -0500 Ashley Graham <[EMAIL PROTECTED]> wrote: Try "dpkg-reconfigure locales" as root. If the locales package is not installed, type "apt-get install locales". Please use the archive at (Group linux.debian.user) or

Re: locale errors {fixed}

2004-03-25 Thread Ashley Graham
In honor of Andreas, The Mighty One (tm), I here on say that this is closed, because my problem has been fixed. Use 'dpkg-reconfigure locales' to generate the en_US.UTF-8 locale. Was succesful in fixing my error, thank you Colin Watson. And thank you Andreas for just being alive (dripping with

Re: locale errors

2004-03-25 Thread Ashley Graham
The least you could have done writing your second message would have been to tell me if the commands I told you have been helpful. Instead I still don't know if your problem has been solved the way I suggested, if you solved it in a different way, or if it still exists (in this case I would of co

Re: locale errors

2004-03-25 Thread Al Davis
On Thursday 25 March 2004 01:04 pm, Ashley Graham wrote: > how do I fix this: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: >         LANGUAGE = (unset), >         LC_ALL = (unset), >         LC_CTYPE = "en_US.UTF-8", >         LANG = (unset) >  

Re: locale errors

2004-03-25 Thread Chris Metzler
On Thu, 25 Mar 2004 18:02:39 -0500 Chris Metzler <[EMAIL PROTECTED]> wrote: > > http://lists.debian.org/debian-user/2004/debian-user-200401/msg04474.htm Grrr. That should be ".html" rather than ".htm". http://lists.debian.org/debian-user/2004/debian-user-200401/msg04474.html -c -- Chris Metzl

Re: locale errors

2004-03-25 Thread Chris Metzler
On Thu, 25 Mar 2004 14:42:01 -0500 Ashley Graham <[EMAIL PROTECTED]> wrote: >> >> Try "dpkg-reconfigure locales" as root. If the locales package is not >> installed, type "apt-get install locales". Please use the archive at >> (Group linux.debian.user) or >>

Re: locale errors

2004-03-25 Thread Andreas Janssen
Hello Ashley Graham (<[EMAIL PROTECTED]>) wrote: >>Try "dpkg-reconfigure locales" as root. If the locales package is not >>installed, type "apt-get install locales". Please use the archive at >> (Group linux.debian.user) or >> first next time. Th

Re: locale errors

2004-03-25 Thread Ashley Graham
Try "dpkg-reconfigure locales" as root. If the locales package is not installed, type "apt-get install locales". Please use the archive at (Group linux.debian.user) or first next time. This question has been asked and answered more then once. be

Re: locale errors

2004-03-25 Thread Andreas Janssen
Hello Ashley Graham (<[EMAIL PROTECTED]>) wrote: > how do I fix this: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LC_CTYPE = "en_US.UTF-8", > LANG = (unset) > ar

Re: locale errors

2004-03-25 Thread Ashley Graham
Use 'dpkg-reconfigure locales' to generate the en_US.UTF-8 locale. . i had used that to try and switch it to something else (en_US ISO-8859-1), not thinking that setting it to en_US.UTF-8 would help. thanks a lot. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe"

Re: locale errors

2004-03-25 Thread Colin Watson
On Thu, Mar 25, 2004 at 01:04:24PM -0500, Ashley Graham wrote: > how do I fix this: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: >LANGUAGE = (unset), >LC_ALL = (unset), >LC_CTYPE = "en_US.UTF-8", >LANG = (unset)

locale errors

2004-03-25 Thread Ashley Graham
how do I fix this: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "en_US.UTF-8", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to t

Re: apt giving locale errors from perl

2002-05-28 Thread Colin Watson
On Tue, May 28, 2002 at 12:59:00PM -0500, JW wrote: > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LC_CTYPE = "en_US", > LANG = "C" > are supported and installed on your

apt giving locale errors from perl

2002-05-28 Thread JW
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, ANy time apt runs I get error message from perl about locale settings, for example the following: Setting up console-tools (0.2.3-23.3) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: L