LXC Image Ubuntu 16.10 - "tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968"

naisanza

Member
Aug 11, 2016
31
1
6
Creating a new container with the Ubuntu 16.10 image produces this error when executing `tmux`

This is a possible regression from the Ubuntu 16.04 image, which did not have this issue

Code:
tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968

This can be remedied by uncommenting
Code:
# en_US.UTF-8 UTF-8
in the file /etc/locale.gen and running
Code:
locale-gen
afterwards