Submitted by sgrayban on Wed, 06/16/2010 - 06:08
I have just noticed this with the pre-made debian xen images.
Debootstrap does not create locales.
When you run the virtual machine and you get errors like the following, run the commands below.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8″
are supported and installed on your system.
perl: warning: Falling back to the standard locale (”C”).
To fix this, run this, replace en_US.UTF-8 with your own locale.
sudo locale-gen en_US.UTF-8
Remember, locale settings are in /etc/environment
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 06/16/2010 - 16:28 Comment #1
Thanks .. I will fix this up shortly.
Submitted by JamieCameron on Wed, 06/16/2010 - 18:42 Comment #2
The Debian Lenny base image has been updated to a new 1.9 version that includes the proper locales. The other Debian and Ubuntu images with the same fix will be available later today ..
Submitted by Issues on Wed, 06/30/2010 - 21:20 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.