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-en
or
sudo locale-gen en_DK.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
Do you guys see this?
I think it's a general problem that doesn't just apply to maas here, and so perhaps an appropriate fix should be applied more generally?
If the server doesn't have a particular locale configured, it cannot be expected to work. I think the solutions are:
1) Tell the user to generate the locale.
2) Switch the locale to C or C.UTF-8 (not sure which) so that at least things will work until the system locale is configured as required.
I was going to suggest (1) but then found that there's already something in place for this. Is this working for you?
When I ssh in to a Precise or Saucy server using:
LC_ALL=en_DK.UTF-8 ssh <server>
I get the message:
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-en
or
sudo locale-gen en_DK.UTF-8
To see all available language packs, run: pack-[a- z][a-z] $" cloud/instance/ locale- check.skip
apt-cache search "^language-
To disable this message for all users, run:
sudo touch /var/lib/
Do you guys see this?
I think it's a general problem that doesn't just apply to maas here, and so perhaps an appropriate fix should be applied more generally?
If the server doesn't have a particular locale configured, it cannot be expected to work. I think the solutions are:
1) Tell the user to generate the locale.
2) Switch the locale to C or C.UTF-8 (not sure which) so that at least things will work until the system locale is configured as required.
I was going to suggest (1) but then found that there's already something in place for this. Is this working for you?