Invalid locales message says to use apt-get on snappy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned | ||
cloud-init (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
On my first boot of snappy I received the following after logging in via ssh:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-15-generic armv7l)
* Documentation: https:/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Welcome to snappy Ubuntu Core, a transactionally updated Ubuntu.
* See https:/
It's a brave new world here in snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snappy --help'
for app installation and transactional updates.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
_______
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 locales
sudo apt-get install language-pack-en
or
sudo locale-gen en_US.UTF-8
To see all available language packs, run:
apt-cache search "^language-
To disable this message for all users, run:
sudo touch /var/lib/
_______
Obviously, its contradictory to say "does not use apt-get" and then to say "sudo apt-get install locales".
tags: | added: vivd |
tags: |
added: vivid removed: vivd |
Changed in snappy: | |
status: | Triaged → Fix Released |
Changed in cloud-init (Ubuntu): | |
status: | Triaged → Invalid |
I can reproduce this by setting: d/Z99-cloud- locale- test.sh which is provided by cloud-init
$ LC_ALL=en_US.UTF-8 ssh <email address hidden>
the message is triggered by /etc/profile.