![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
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 |
|
|
#1 |
|
A Carafe of Ubuntu
![]() |
Hello
I posted a days ago a question in one post to resolve my troubble with locales in my Ubuntu 64. After investigate a little, I find that the dpkg-reconfigure locales have a issue that make it crashes and have a "segmentation fault". Then I discover that the problem were in the locale-gen script ... but, when I compare it with other locale-gen in other computer, it's the same ... and in one it works and in mine, it crashes. I began to read the code of the script, and I found a line that, I think, is the problematic one: while read locale charset ... The "while" and the "read" I think are OK, but when I execute "locale charset" in one computer working OK, it doesn't return anything at the terminal, but in mine, it returns that: Code:
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 Can somebody help me? Thanks a lot and excuse my poor english! |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() |
Re: Problem with locales (some solution?)
I found that the problem is exactly with the command localedef, that is executed in the "while" loop ... How can a executable file providad with my Ubuntu CD are bad compiled???
How can I resolve that? |
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() Join Date: Aug 2005
Beans: 209
|
Re: Problem with locales (some solution?)
Have you tried "dpkg-reconfigure locales" to enable those locale?
|
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() |
Re: Problem with locales (some solution?)
Yes, and dpkg-reconfigure locales uses locale-gen script, and it fails when runs localedef ....
Yesterday I tried to run localedef in the same way that the script do, and I've the same segmentation fault. .. Can be a bug in the localedef program? |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() |
Re: Problem with locales (some solution?)
Somebody knows somaething about this?
I'm very confused .... The libc6 package are making my system unstable at all and I can't use Ubuntu on this desketop ... Can somebody help? |
|
|
|
|
|
#6 | |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2005
Beans: 15
|
Re: Problem with locales (some solution?)
Quote:
|
|
|
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() |
Re: Problem with locales (some solution?)
I reported it some days ago to the Ubuntu bugzilla, and I'm working on it to discover whre is the problem: I know that localedef is the binary that fails, but I don't know why.
To test it, I want to install libc6-gdb (the package that contains localedef with debugging symbols), but when I run localedef, is the localedef of libc6 "normal", and I don't want to uninstall the libc6 pckage because more than 900 packages will be deleted with it .... I'm waitting for a answer of the bugzilla people, when I know something, I will say ... |
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2005
Beans: 15
|
Re: Problem with locales (some solution?)
Quote:
|
|
|
|
|
|
|
#9 |
|
Quad Shot of Ubuntu
![]() Join Date: Mar 2005
Location: the South
Beans: 513
|
Re: Problem with locales (some solution?)
Same problem here -- but a little different.
Whenever I try to compile or even install a program I get a warning, either by GTK or Perl saying that it is unable to 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 or; Perl warning: unable to set locale: No such file or directory. This started after I installed Enlightenment. There are several modules which have to be compiled and it simply borks on the ./autogen.sh script. I have run the dpkg-reconfigure locales so many times I am sick of it. Please somebody come up with a solution. I found a very technical website dealing the locale issue and Perl, but I couldn't make heads nor tails of it. |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2005
Beans: 15
|
Re: Problem with locales (some solution?)
Well I gave up. I've fought with the locales problem for days and I need the computer to work and work reliably. I wiped Ubuntu and installed straight Debian which seems to be working much better. Best wishes to all the users on the Ubuntu forum.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|