Skip to content

Instantly share code, notes, and snippets.

View opsxcq's full-sized avatar
☢️
Testing...

opsxcq

☢️
Testing...
View GitHub Profile
@opsxcq
opsxcq / bash
Created April 7, 2016 20:46
Fix locale error on Debian Wheezy/Jessie (perl: warning: Setting locale failed)
If you got this error running apt-get or some other program:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
Just run this code:
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