LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2010, 03:30 PM   #1
klindenberg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
Locale not supported by C library


When I open gedit and also some other applications, I get this message:

(gedit:29595): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

Why is this happening and should I worry about it? It does not seem to affect my subsequent work.
 
Old 01-31-2010, 06:57 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

welcome to LQ!

What distro are you using? What is your current locale? What did
you choose during installation?


Cheers,
Tink
 
Old 01-31-2010, 09:40 PM   #3
klindenberg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I am using Ubuntu 8.04. I have some pretty complex networking and don't dare upgrade because I do not know how to make that work!

When I type 'locale' at the prompt this is what I get:

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.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


I very much appreciate being helped to help myself!
 
Old 01-31-2010, 10:13 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Can you verify whether 'language-pack-en-base' is installed?
If it's not - install it please, and then try:
dpkg-reconfigure locales
 
Old 01-31-2010, 10:49 PM   #5
klindenberg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
No, it is not installed but when I try to mark it for installation I get the following message:

Could not mark all packages for installation of upgrade
The following packages have unresolvable dependencies. Make sure that all requires repositories are added and enabled in the preferences.

language-pack-en-base:

Depends: language-pack-en but it is not going to be installed

Sigh..... What next?

Thank you so much!
KL
 
Old 02-01-2010, 11:36 AM   #6
klindenberg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Previous post in this thread

Please please help!
 
Old 02-01-2010, 04:18 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
At this stage I'll recommend that you locate & download those packages
manually from a close-by mirror and manually install them using dpkg.



Cheers,
Tink
 
Old 02-01-2010, 05:58 PM   #8
klindenberg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Tink,

A kind soul here helped me solve the problem. It just required uninstalling language-pack-en and reinstalling it. All now is well.

Thanks,
KL
 
Old 02-01-2010, 07:00 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Awesome - and well done.



Cheers,
Tink
 
Old 05-02-2013, 02:51 PM   #10
jspartan
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
I realize this thread is old but had to say thanks to @Tinkster and hopefully make his answer easier to find in the search engines. Out of all of the latest "solutions" I tried over the last couple of hours this 3 year old post fixed it for me.

Thank you sir!

01-31-2010, 10:13 PM
Tinkster
Moderator

Can you verify whether 'language-pack-en-base' is installed?
If it's not - install it please, and then try:
dpkg-reconfigure locales


SOLVED: Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gtk-WARNING **: Locale not supported by C library alex.e.c Linux - Software 6 08-11-2014 02:55 PM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM
When running programs: Locale not supported by C library miceagol Linux - General 2 06-02-2006 04:46 PM
locale not supported by C library the bear Linux - General 2 04-03-2006 11:16 AM
Gdk-WARNING **: locale not supported by C library letdoit Slackware 1 05-28-2004 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration