Home > Uncategorized > Ubuntu Locale

Ubuntu Locale

Connected to a remote VPS via SSH, I ran into problems installing Java with apt-get – error included stuff like the following:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"

The solution was to regenerate the locale with “locale-gen ” as follows:

locale-gen en_US.UTF-8
dpkg-reconfigure locales
Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.