| View previous topic :: View next topic |
| Author |
Message |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Sun Oct 23, 2005 7:27 am Post subject: Locale error |
|
|
I get this message during installs and attempted reconfigure:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "C",
LC_ALL = "en_US",
LANG = "en_US"
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
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
Any fix? _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
bregma Xplorer
Joined: 29 Jan 2005 Posts: 82 Location: The back woods
|
Posted: Mon Oct 24, 2005 3:26 pm Post subject: Re: Locale error |
|
|
| TGBaker wrote: |
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
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
|
Edit your $HOME/.bash_profile and change the line export LC_ALL=en_US to export LC_ALL=C. That did the trick for me.
-- smw |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 3:57 pm Post subject: Re: Locale error |
|
|
| bregma wrote: | | TGBaker wrote: |
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
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
|
Edit your $HOME/.bash_profile and change the line export LC_ALL=en_US to export LC_ALL=C. That did the trick for me.
-- smw |
Tried but I still get the same error. Thanks for the idea though. _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
Posted: Mon Oct 24, 2005 4:23 pm Post subject: |
|
|
What login shell do you use ?
If its not bash, thats your problem.
If you use bash, ensure you have not edited ~/.bash_profile manually. If you have, that can potentionally be problematic too (its generated when setting regional settings).
From a console, run command
locale
and see what it shows. Then check that language selection shown with the command above exists in /etc/locale.gen. If not you have to run
dpkg-reconfigure locale
as root and select your language. |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 6:00 pm Post subject: |
|
|
| Arne Anka wrote: | What login shell do you use ?
If its not bash, thats your problem.
If you use bash, ensure you have not edited ~/.bash_profile manually. If you have, that can potentionally be problematic too (its generated when setting regional settings).
From a console, run command
locale
and see what it shows. Then check that language selection shown with the command above exists in /etc/locale.gen. If not you have to run
dpkg-reconfigure locale
as root and select your language. |
What I get is this when I run locale:
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
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=en_US
And there is no etc/locale. Perhaps that is the problem. The error messages have stated that locale does not exist:
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
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed.
And as you can see from my original post I tried the dpkg thingy but got the error message which I posted.
However this time when I tried it I got this:
Brahman:/home/tommy# dpkg-reconfigure locale
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "C",
LC_ALL = "en_US",
LANG = "en_US"
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
Package `locale' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locale is not installed
Now when I try to install locale I get an error message that e2fsprogs needs to be temporarily uninstalled which is not necessarily a good thing. To do so it says to run apt force-loop. Note I am partitioned as reiserFS and not Ext3 though the e2fsprog file.
Wahddya think? Is it FUBARed???? _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
Posted: Mon Oct 24, 2005 6:35 pm Post subject: |
|
|
You must have installed some nasty stuff on your PC.
Did you run the dpkg-reconfigure as root (you can't run it as regular user) ?
If you got the error when running the commnd as root, this is what I suggest you try.
1. Ensure only Xandros supported site is enabled in XN.
2. Open a console as root.
3. apt-get update
4. apt-get --reinstall install locale
and see what happens. |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 6:38 pm Post subject: |
|
|
| Arne Anka wrote: | You must have installed some nasty stuff on your PC.
Did you run the dpkg-reconfigure as root (you can't run it as regular user) ?
If you got the error when running the commnd as root, this is what I suggest you try.
1. Ensure only Xandros supported site is enabled in XN.
2. Open a console as root.
3. apt-get update
4. apt-get --reinstall install locale
and see what happens. |
Thanks, I'll try it. I've been testing Crossover 5.0 beta. I also finally got a good install of DVD:Rip and Mplayer. Then there were all of of those OpenOffice betas. Some of those rpeositories are pretty naughty
Well I tried but got this message:
Brahman:~# apt-get update
Hit http://xnv3.xandros.com xandros3.0-xn/main Packages
Ign http://xnv3.xandros.com xandros3.0-xn/main Release
Hit http://xnv3.xandros.com xandros3.0-xn/contrib Packages
Ign http://xnv3.xandros.com xandros3.0-xn/contrib Release
Hit http://xnv3.xandros.com xandros3.0-xn/non-free Packages
Ign http://xnv3.xandros.com xandros3.0-xn/non-free Release
Reading Package Lists... Done
Brahman:~# apt-get --reinstall install locale
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package locale
Brahman:~# apt-get install locale
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package locale
Brahman:~#
Seems pretty messed up doesn't it. I did a report to tech support and Matt is lookin' at it but gee I can't help but tinker ya know. _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa
Last edited by TGBaker on Mon Oct 24, 2005 6:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 6:49 pm Post subject: |
|
|
Ain't that about like wearing protection  _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
Posted: Mon Oct 24, 2005 6:54 pm Post subject: |
|
|
Well, some of us are not as bold as you are.
We need protection.  |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 7:12 pm Post subject: |
|
|
| Arne Anka wrote: | Well, some of us are not as bold as you are.
We need protection.  |
We learn from our mistakes don't we? I surely have saved your article on pinning and will do it the next go round. As soon as I finish up playing around with the release candidates for Crossover 5 I'll start over fr4om scratch I never could get DVD:Rip to work anyway. Mplayer had some quirks that made me favor Xine over it. I've been foolin' around with Linux for about a year and that's usually the best way I can learn( from my mistakes )
Thanks for your help. Locales depends on glibc 2.3.2dsl-20 and I can't find it. Which probably means that I created the problem from a risky install. I wish I knew which one. I'm betting DVD:Rip, Winamp For Linux or the Crossover stuff. Beats me. _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
Arne Anka Xanspiration

Joined: 21 Mar 2004 Posts: 4186 Location: Stockholm, Sweden
|
Posted: Mon Oct 24, 2005 7:39 pm Post subject: |
|
|
glibc 2.3.2.ds1-20 is in XN supported site. However, you are probably prevented from installing it due to dependency problems you have created by misstake.
Playaround with whatever you do and then reinstall and pin or I can try to help you out restoring your system without reinstall (can be a good exercise). |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 7:53 pm Post subject: |
|
|
| Arne Anka wrote: | glibc 2.3.2.ds1-20 is in XN supported site. However, you are probably prevented from installing it due to dependency problems you have created by misstake.
Playaround with whatever you do and then reinstall and pin or I can try to help you out restoring your system without reinstall (can be a good exercise). |
Thanks.... I'd love to test Xandros 4 beta. I'll start over from scratch if I'm lucky enough to get to test it. Crossover testing will be done very soon. I'd rather not reinstall if I can get by with it. I've found most of the codecs I've needed for my various audio files. I'd like to see Xandros 4 as a distro that can upgrade a previous version rather than simply saving the home directory. _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
davidalun Xandrosianschwing
Joined: 18 Jan 2003 Posts: 2172 Location: Niagara Falls, Ontario, Canada
|
Posted: Mon Oct 24, 2005 8:25 pm Post subject: |
|
|
| TGBaker wrote: | | I'd like to see Xandros 4 as a distro that can upgrade a previous version rather than simply saving the home directory. |
That's not a simple task as usually we get a kernel upgrade as part of the version upgrade and all of the apps need to be configured to suit. I very much doubt you'll see anything like that anytime soon. _________________ Dave Blythin.
Xandos 1, 2, 3, 4 ... and now PCLOS. |
|
| Back to top |
|
 |
TGBaker Xandrosianding

Joined: 15 Nov 2004 Posts: 545 Location: St. Simons Island, GA
|
Posted: Mon Oct 24, 2005 9:24 pm Post subject: |
|
|
| davidalun wrote: | | TGBaker wrote: | | I'd like to see Xandros 4 as a distro that can upgrade a previous version rather than simply saving the home directory. |
That's not a simple task as usually we get a kernel upgrade as part of the version upgrade and all of the apps need to be configured to suit. I very much doubt you'll see anything like that anytime soon. |
How does Ubuntu do it? _________________ "You can't write a chord ugly enough to say what you want to say sometimes, so you have to rely on a giraffe filled with whip cream."--Frank Zappa |
|
| Back to top |
|
 |
|