Ubuntu - Setting locale failed? Reinstall packages then!
A quick note to self reminder.
If your newly minted Ubuntu box gives you the following error:
perl: warning: Falling back to the standard locale ("C").</div>
<div>
<div>perl: warning: Setting locale failed.</div>
<div>perl: warning: Please check that your locale settings:</div>
<div>
<span style="white-space: pre;"> </span>LANGUAGE = (unset),</div>
<div>
<span style="white-space: pre;"> </span>LC_ALL = (unset),</div>
<div>
<span style="white-space: pre;"> </span>LANG = "en_SG.UTF-8"</div>
<div> are supported and installed on your system.</div>
<div>
Just reinstall the packages by:</div>
<div>
<div>apt-get install --reinstall language-pack-en
It should fix the problem