Corey Wright wrote:
On Mon, 20 Mar 2006 14:56:30 +0100
Eugen Leitl <[EMAIL PROTECTED]> wrote:
  
I keep having those nasty

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_DE:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

messages in a vserver
    

to reconfigure locale generation & default locale, just run "dpkg-reconfigure locales".

  

Recently, I couldn't get this solution to work for me in my setup (I create new vservers with the newvserver command, and both my host and guests are dapper drake).

My solution:

1. apt-get install language-pack-en
2. add the following lines to /etc/environment:
    LANG="en_AU.UTF-8"
    LANGUAGE="en_AU:en_US:en_GB:en"

Not sure why I had to do this, but it works (for EN at least)

Tony Lewis


_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to