If you get similar messages to this when you use apt-get

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

and the advice to

dpkg-reconfigure locales

doesn’t work, then try this –

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

Short and sweet solution.

Post comment

Archives

Categories

Most Popular Posts

Tags

Recent Comments

  • HenryX: If you have any problems about motocycle , I can answer you. I am a local Shanghaier with a 5 years’...
  • Johnny E: Hi Lawrence.. i have a 1999 Bmw E46 320i, i had to change the engine because it was broken, and now i...
  • Lawrence Sheed: Zoneminder is a video monitoring capture system. I have an IP Camera pointed at the entrance, and...
  • Shaun Wallace: That is pretty cool, and cheap too! I may order one thanks to your recommendation. What is zone...
  • Hector: My country doesn’t require a license for MOPEDS & no highway sticker. Liability and the cost of...

Recent Trackbacks

PHOTOSTREAM

Side Art