Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

First I uninstalled chrome using below command

sudo apt-get remove google-chrome-stable

Then I installed chrome beta on ubuntu 12.04 using below command

sudo apt-get install google-chrome-beta

It was successful installation. Now when I search for chrome I see my old stable version. What's wrong here?

share|improve this question
add comment

1 Answer

Check your local apt-cache like so:

$ apt-cache policy google-chrome-{unstable,beta,stable}

google-chrome-unstable:
  Installed: (none)
  Candidate: 31.0.1626.0-1
  Version table:
     31.0.1626.0-1 0
        500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages

google-chrome-beta:
  Installed: 30.0.1599.37-1
  Candidate: 30.0.1599.37-1
  Version table:
 *** 30.0.1599.37-1 0
        500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages
        100 /var/lib/dpkg/status

google-chrome-stable:
  Installed: (none)
  Candidate: 29.0.1547.65-r220622
  Version table:
     29.0.1547.65-r220622 0
        500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages

Here we can see the three versions of Chrome, which are installed and what's available in whatever distribution.

If you're running Chrome and haven't restarted it since upgrading, do that. Restart Chrome.

If chrome://chrome/ still tells you you're on a different version, check the output of ps aux | grep chrome (while it's running). You should see a load of instances of /opt/google/chrome/chrome running. We can check which package is providing that binary:

$ dpkg -S /opt/google/chrome/chrome
google-chrome-beta: /opt/google/chrome/chrome

If the path is different to /opt/google/chrome/chrome, do the above with the altered path. Whatever it is, it's interfering with your installation.

share|improve this answer
    
Please explain the use of the curly brackets in apt-cache policy google-chrome-{unstable,beta,stable} or where we can look it up. –  user25656 Sep 18 '13 at 11:16
    
@vasa1 It's a Bash expansion.. How it works isn't relevant to the question, only that it works.... But if you want to learn more, there's quite a big topic on tldp.org on expansions –  Oli Sep 18 '13 at 11:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.