Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old April 12th, 2006   #1
hardhu
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 72
Ubuntu Jaunty Jackalope (testing)
Locale problems in chroot

Hello everybody,
I have setup a dapper 32bit chroot environment (to run the newer version of tunderbird and firefox that are not yet available for amd64 breezy) using the tutorial in the wiki, but I have some problems with locale settings:
----
(mychroot)root@eagle:/home/rick# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_IT:en",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
en_US.ISO-8859-1... up-to-date
Generation complete.
----
Can anybody help me to solve this issue? TIA
hardhu is offline   Reply With Quote
Old May 23rd, 2006   #2
mattb1982
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 5
Re: Locale problems in chroot

try this:

sudo apt-get install localeconf
mattb1982 is offline   Reply With Quote
Old June 9th, 2006   #3
chronobox
First Cup of Ubuntu
 
Join Date: Jun 2006
My beans are hidden!
Ubuntu 6.06
Re: Locale problems in chroot

Try this too:

sudo localedef -i en_US -c -f UTF-8 en_US.UTF-8
chronobox is offline   Reply With Quote
Old June 19th, 2006   #4
hardhu
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 72
Ubuntu Jaunty Jackalope (testing)
Re: Locale problems in chroot

Quote:
Originally Posted by chronobox
Try this too:

sudo localedef -i en_US -c -f UTF-8 en_US.UTF-8

I have tried both solutions, but none seemed to work. I have then successfully removed the problem by re-creating the chroot environment and manually generating locales with 'sudo locale-gen en_US' and 'sudo locale-gen en_US.UTF-8'.
I still don't understand why there is this strange line:

LANGUAGE="en_IT:en"

in my /etc/environment outside the chroot, maybe because in the installation process I have set English as my language and Italy as my location, but this is giving me no problems.
hardhu is offline   Reply With Quote
Old August 18th, 2006   #5
swamytk
Way Too Much Ubuntu
 
swamytk's Avatar
 
Join Date: Jul 2005
Location: Santa Clara, CA
Beans: 285
Ubuntu 10.04 Lucid Lynx
Re: Locale problems in chroot

Interesting, I am facing this problem with fresh installation of Fedora Core 5 also. Thanks for solution, let me try at FC5.
__________________
We have come up by other's support, so let us support a few at least!
More Linux/Ubuntu How-To, tips and tweaks on Black God: http://karuppuswamy.com/wordpress/tag/ubuntu/
swamytk is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:36 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry