locale errors during apt-get upgrades

Sabniveesu Shashank shashank16392 at gmail.com
Tue May 21 16:08:21 UTC 2013


On Tue, May 21, 2013 at 8:58 PM, Tom H <tomh0665 at gmail.com> wrote:

> On Tue, May 21, 2013 at 10:46 AM, Tom H <tomh0665 at gmail.com> wrote:
> > On Tue, May 21, 2013 at 9:55 AM, Sabniveesu Shashank
> > <shashank16392 at gmail.com> wrote:
> >> On Tue, May 21, 2013 at 7:15 PM, Tom H <tomh0665 at gmail.com> wrote:
> >>> On Mon, May 20, 2013 at 9:03 AM, Sabniveesu Shashank
> >>> <shashank16392 at gmail.com> wrote:
> >>>>
> >>>> Hi, I've been using Ubuntu since 11.10. Why do I get the following
> >>>> messages whenever I update my packages? Why doesn't  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").
> >>>
> >>> What's the output of "locale" and "locale -a"?
> >>
> >> Pasted them at http://pastebin.com/pdKvRhgy
> >
> > I forgot.
> >
> > What's the output of "cat /etc/environment"?
> >
> > If you have "LANG=en_IN" in that file, change it to "LANG=en_IN.UTF-8".
> >
> > (Someone else asked you whether you're setting LANG or LC_* in one of
> > the bash startup files?)
>
> Also "cat /etc/default/locale".
>
> "...environment" is used by a pam module and "...locale" by an upstart job.
>
> --
>
$ cat /etc/default/locale
LANG="en_IN"
LANGUAGE="en_IN:en"

/etc/environment has no entry for LANG

What I'm asking is why are these unset in every release..(NOTE: I always
did a fresh install since 11.10)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130521/ceea8b0a/attachment.html>


More information about the ubuntu-users mailing list