Reconfiguring locales

Recently when rebuilding on of my machines I encountered and error when I tried to install X windows.

Setting up xserver-xorg (1:7.3+20) ...
xserver-xorg postinst warning: failed to infer keyboard layout
from layout/lang
   '10 debian-installer/keymap doesn't exist--en_GB'

Oops – it looks like there is something wrong with the locale settings – no idea why but I guess that to fix it I need to check the installed locales. To do this I need to be logged in as a superuser.

$ su
Password:

OR

$ sudo -i
Password:

# apt-get update

Then we just need to check the locale settings by reconfiguring the package that provides them.

# dpkg-reconfigure locales

dpkg-reconfigure_localeWell that explains the error, the ‘en_GB‘ locale isn’t available…

Easily fixed.

 dpkg-reconfigure_localedpkg-reconfigure_locale_003dpkg-reconfigure_localedpkg-reconfigure_locale

Advertisements
This entry was posted in Debian, Linux and tagged , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s