Wednesday, October 19, 2011

Ubuntu 11.10 keep Waiting for jockey-backend to exit

I have this problem twice, that after a fresh install of ubuntu 11.10, it is having problem updating software cache. Whenever I tried to run Update Manager, it will pop out a message box saying "Waiting for jockey-backend to exit". I believe this is a bug of ubuntu 11.10.

I found the solution for this problem from http://naveenubuntu.blogspot.com/2011/09/waiting-for-jockey-backend-to-exit.html, and you simply need to follow these few steps to manually end the jockey-backend and allows your ubuntu to update software cache.

What is jockey-backend ?

Jockey is a tool for installing third-party hardware drivers.

Jockey provides the infrastructure and the user interface for finding and installing third-party drivers which are applicable to the computer. This includes drivers which are added or updated after the release of a distribution, or drivers which cannot be included into the distribution for various reasons (CD space limitation, licensing problems, etc.).

Solution :
You only need jockey for enabling restricted drivers, afterwards you can safely disable it.

Open Terminal and type following commands:

1) To get into root mode
    sudo -i

2) To check the process id of jockey
    ps -e | grep jockey

Output: 2982 pts/0 00:00:00 jockey

remember the process id(2982)

3)Type the following to stop/kill the process

  sudo kill -9 [process_id]

 sudo kill -9 2982

Friday, October 14, 2011

Install Google Chrome on ubuntu 11.10 (64-bit)

I just finish installing a fresh copy of Ubuntu 11.10 64-bit. One of my first thing to do is to install Google Chrome.
After download the deb file for Google Chrome 64-bit, I found out that I cannot simply run the deb file to install it. Ubuntu 11.10 kind like reject the installation.
I found the solution from http://www.google.co.uk/support/forum/p/Chrome/thread?tid=381d28fd49d3fc52&hl=en, the workaround for this is to install Google Chrome via Terminal. The instruction:

Step one: Download chrome to your Download Directory from http://www.google.com/chrome

Step Two: Open Terminal ( Ctrl + Alt + T )

Step Three: Run this command:
sudo apt-get install libnspr4-0d libnss3-1d libxss1 libcurl3

I guess this step is to install some required libraries for Google Chrome.

Step Four: Run this other command (Not Optional)
sudo dpkg -i './Downloads/google-chrome-stable_current_amd64.deb' 
For this step, please modify the command if your downloaded Google Chrome installer is not located in your Downloads folder. For me the Google Chrome installer is located under my Desktop, so the command will be:
sudo dpkg -i '/home/tph/Desktop/google-chrome-stable_current_amd64.deb'

Step Five: Hit the "Super" Key and search for Chrome.

After following all the steps, I had my Google Chrome running nicely under my Ubuntu 11.10. Thanks to Luke Woods.