Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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
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
I managed to cause this myself when migrating home directory dot files to a new machine, and I failed to identify the cause for a while on account of searching files for LC_ and not LOC.
(the particular value here was on account of prior experiments with GNU Guix on the old machine; but the relevant fact is simply that the environment variable was set to a now-invalid path.)
This resulted in the following error when running various programs:
Code:
Warning: locale not supported by C library, locale unchanged
And these errors when running 'locale':
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
Removing (or commenting out) the 'LOCPATH' line resolved my issues.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.