top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

locale errors during apt-get upgrades in ubuntu

0 votes

Ive been using Ubuntu since 11.10. Why do I get the following messages whenever I update my packages? Why doesnot Ubuntu itself set them by default?

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
perl: warning: Setting locale failed
perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset)
            LANG = "en_IN.ISO8859-1"
       are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
posted May 20, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
Best answer

Ubuntu uses UTF-8 locales by default, and for some reason you've specified the obsolete ISO 8859-1 here. Try setting lang to en_IN.UTF-8 instead, wherever you've done so (~/.bashrc? ~/.profile?).

answer May 20, 2013 by anonymous
Similar Questions
0 votes

I want to know when "apt-add-repository" becomes mandatory to run in Ubuntu machine. Usually I used following two commands many times.
$sudo apt-get update
$sudo apt-get install

0 votes

What is the relation of "apt-get install" with "apt-get update" ? What exactly "sudo apt-get update" does ?

+2 votes

I am trying to figure out how to get my sever to come back up to operation on a power failure. Right now it comes up and gives me three choices. I don't want the bloody choices I just want it to straight reboot so can run it headless!

Any help appreciated.

+1 vote

On 13.04 I can mount NFS shares from the command line no problem, but if I try to do it at boot time from fstab, the system hangs and says it is waiting for idmapd and statd to start. This always worked in the past and works on other distros like Cent and FreeBSD.

0 votes

Does anyone know is there an Option for Global User Management?
So it means I wanted to be able to have a Database (sql/LDAP) and wanted to connect all my Servers to that Database. (All Users in a specific group are able to login via ssh on any Server.)