Yesterday, working remotely to set up a cleanly-installed Ubuntu Jaunty server, every command that I ran would give me errors with Perl and an unset language. For example:
root@dev:/vweb# adduser htomol tracusers
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding user `htomol' to group `tracusers' ...
Adding user htomol to group tracusers
Done.
root@dev:/vweb#
I tried reconfiguring the locales package and a few others but no fix. The solution was to install the language pack that I wanted to use; I am not sure why this didn't happen at install time (I didn't do the installation). For English, the pack to install was 'language-pack-en' so I needed to run:
root@dev:/vweb# aptitude update
...
...
root@dev:/vweb# aptitude install language-pack-en
...
...
root@dev:/vweb#
That seemed to have fixed it; thanks goes out to the irc.Freenode.net people on #ubuntu-server, specifically the user named sub. Another example, in my eyes, of why Ubuntu is not the slick setup that everyone seems to believe that it is; I've never had this issue with Debian.
=-=-=-=-=
Powered by Bilbo Blogger





