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

Graham Leggett minfrin at sharp.fm
Wed Mar 16 13:13:18 UTC 2016


Public bug reported:

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 at 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.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: trusty

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

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

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



More information about the Ubuntu-server-bugs mailing list