The Tao of Programming

When the program is being tested, it is too late to make design changes.

—The Master Programmer

Read the rest of this entry »


Diesel Sweeties #405: Souls

Souls
Source


Open-Source Games for Linux

I was recently looking around to see the state of Linux-capable games, and I was surprised to stumble upon a bunch of really cool looking ones:

Let me know if you have any particularly fun Linux games in the comments!


Setting locale failed error on Ubuntu or Debian

Sometimes I get a weird error message when using apt-get or dpkg on certain Ubuntu or Debian systems. More particularly, this happened on a server I was running and confused me quite a bit. Basically, when working with packages, I kept getting the following message:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.

After some research online, I found the quickest was to fix this was to run (as root):

apt-get install language-pack-en-base

I was also told to execute the following, but I found it to be unnecessary:

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

I hope this helps someone else, too. Remember to change en_US to your desired locale.


Follow

Get every new post delivered to your Inbox.

Join 45 other followers