juanluis, thanks this worked. Just have to remember to reboot before do anything.
What ceases to amaze me is how DO can put out stuff in prime time wasting everyones time with such an idiotic problem, there are posts all over the place and such a simple fix. Bad first hour on DO suffice to say ;(
It is now 2016 and this problem is still not fixed.
Everytime I have to test something and I spin up a Debian or Ubuntu server I ran into this problem.
Until I realized it and then fixed it I wasted so much time that all those proposed speed advantages of DO are gone anyway.
Currently it looks like this:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "de_CH.UTF-8", LC_ADDRESS = "de_CH.UTF-8", LC_MONETARY = "de_CH.UTF-8", LC_NUMERIC = "de_CH.UTF-8", LC_TELEPHONE = "de_CH.UTF-8", LC_IDENTIFICATION = "de_CH.UTF-8", LC_MEASUREMENT = "de_CH.UTF-8", LC_TIME = "de_CH.UTF-8", LC_NAME = "de_CH.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
What are those crap entries doing in a fresh droplet?
The problem still subsists as of January 2018. The solution for me was to add the following to (in my case) the .zshrc file in ~/.
#fix for locale issues when connecting to ubuntu servers
I got this from another post in the community wiki.