← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1558069] Re: Login complains "Your environment specifies an invalid locale", doesn't say which locale

 

This is fixed in cloud-init 0.7.7.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1558069

Title:
  Login complains "Your environment specifies an invalid locale",
  doesn't say which locale

Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released

Bug description:
  On login to a brand new trusty machine with all updates applied, the
  following message appears:

  _____________________________________________________________________
  WARNING! Your environment specifies an invalid locale.
   This can affect your user experience significantly, including the
   ability to manage packages. You may install the locales by running:

     sudo apt-get install language-pack-UTF-8
       or
     sudo locale-gen UTF-8

  To see all available language packs, run:
     apt-cache search "^language-pack-[a-z][a-z]$"
  To disable this message for all users, run:
     sudo touch /var/lib/cloud/instance/locale-check.skip
  _____________________________________________________________________

  - The message complains about an invalid locale, but then doesn't tell
  you what the locale is or what is invalid about it.

  - The suggested advice "sudo apt-get install language-pack-UTF-8"
  breaks as follows:

  ubuntu@z4-dev-black-wap01:~$ sudo apt-get install language-pack-UTF-8
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package language-pack-UTF-8

  The above warning needs to be fixed to contain the locate that is
  invalid, and to provide accurate package names in the advice given to
  fix it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1558069/+subscriptions