I had to remove Chrome to have enough space to upgrade from 16.10 to 17.04. I downloaded the latest version from Google. But when it opens in the Ubuntu Software Manager, and I click on "Install", nothing happens.
Gdebi worked for me
Gdebi is a
.deb package installer, that serves as an alternative to Software Center for this specific task I.e, installing
All you need to do is install it and open your
.deb files through it
To install gdebi copy and paste the command below in your terminal.
sudo apt-get install gdebi
For future use make sure to set it as default until an update fixes the issue with Software Center.
First that you need to setup the key and repository.
Setup key with:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Setup repository with:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sou
Then use apt-get
sudo apt-get install google-chrome-stable
There might be some dependency problem. So, what you could do is:
- Download chrome
.debfile from official chrome site
- Open terminal in that download folder
- in terminal run these commands:
sudo dpkg -i google-chrome-stable_current_amd64.deb sudo apt install -f sudo dpkg -i google-chrome-stable_current_amd64.deb
So, the first command will try to install the package. And if there is any dependency problem, then it will fail.
Second command will force apt to automatically install all missing/required dependencies, and the bet part is you don't even need to specify anything, apt will automatically get those.
In 3rd step when you try to install chrome again, now it will be installed successfully.
You can follow these steps for all deb files.