Many package installations fail with the following errors. Especially the ones which involve databases etc. I found this following error while getting postgres SQL work.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8″
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
or you might even this error
Error: The locale requested by the environment is invalid.
This can be easily sorted out by running following command to generate the required locales.
You can even specify the locale with this command to generated the correct locale required for installations as follows:
Here is how I generated en_US locale:
~# locale-gen en_US
Tags: en_US, en_US.UTF-8, locale, locale-gen, openbravo, Ubuntu
NVidia GeForce Go 7300/7400 might have been black listed on Ubuntu 11.04 as they found to have been hanging during the startup. Unity 3D can run with the “nvidia 173″ driver on these cards.
To force detection at startup, you can:
- sudo nano /etc/environment
- add: UNITY_FORCE_START=1
- Save the file with Ctrl+S
Ensure you are choosing the “ubuntu” session in gdm (default). This will bypass the detection and try to start unity 3D. This will help you run Unity on your machine.. Be warned about any slowness that you might feel while using it.
Tags: GeForce, Natty Narwhal, Nvidia, Ubuntu, Ubuntu 11.04
Natty Narwhal is out with brand new Unity integrated. Many of you might be struggling to get Unity working on your machines. Unity has restrictions to run on specific graphics cards. It is better to check whether your graphic card supports running Unity or now.
Use the simple command listed below to run the check.
If your card is black listed, it will be reported so. Otherwise, you can use some alternative methods to run Unity.
Read on my further posts to learn about it.
Tags: 3d, Graphics Card, Natty, Natty Narwhal, Nvidia, Ubuntu, Ubuntu 11.04
Ever tried copying files to NTFS partitions on drive or onto portable drives while working on Linux? That might have made you feel sick to sit with a sluggish or totally hanged machine in hand. Reason: Its mainly because default …
Read more »
Be simple and no more hard steps uploading photos to flickr. I found this tool very handy from burtonini.com. Add caption, set, send to groups, set privacy settings for each photo that you upload. Ofcourse write a description and title in any language using input method tool. You can find my flickr account filled with photo. […]
Pro taking photos in RAW mode on your Canon digital SLR’s? Here is how you can quickly import and edit those files on your Ubuntu box. To play with .CR2 files, you need a image manipulation tool and a reader and plugin for raw file format. GIMP should come with your Ubuntu by default and the other […]
Making Wacom bamboo CTH-460 work on Ubuntu was bit tricky but it works. Thanks to all threads on Ubuntu forums. Here is what I did to get it working. 1. Get the needed libraries before compiling wacom device drivers. Run the following command in console. sudo apt-get install build-essential libxrandr-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev libx11-dev […]
Unable to use “Windows Key + D” combination on Maverik? Here is a quick fix. Run the following command in console gconftool-2 -t str –set /apps/metacity/global_keybindings/show_desktop "d" Or Access System -> preferences -> key board shortcuts Here set the key binding for “Hide all normal windows and set focus to desktop” action to Mod4+D as […]