Friday, May 28, 2010

How to upgrade google chrome for ubuntu 9.10

The stable Chrome is out for Windows, Mac and Linux. But it can be tricky to upgrade on Ubuntu. There are some recommended methods as follows, all by commands from a terminal.

Code 1:
sudo dpkg -r google-chrome
or
sudo apt-get remove google-chrome

Code 2, when commands similar to the above failed.
First:

grep -nsR "google" /etc/apt
sudo apt-key list

If having difficulties with the package name, one can use the following command.

dpkg -S /opt/google

Then find the list and key information for google-chrome respectively, after which try the code below. Please note that the contents after "rm" and "del" depends on the out put of code 2 above.

sudo rm /etc/apt/sources.list.d/google-chrome.list
sudo apt-key del 7FAC5991
sudo apt-get update

At last we can remove the chrome again, with code 1.

No comments:

Post a Comment