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.
-
A fix has been released bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1672424– Steve HopeApr 17, 2017 at 16:58
-
You'd be better off installing chromium instead :D– Adam FowlerApr 17, 2017 at 18:06
-
1I'm voting to close this question as off topic because it doesn't actually contain a question and because bug reports are off topic. On top of that this bug was fixed in "proposed" which is going to make this thread moot soon enough.– David FoersterApr 17, 2017 at 21:02
4 Answers
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 .deb
files.
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.
-
I'll report it and initiate the fix process for the Software Center. Apr 17, 2017 at 12:14
-
-
2
-
-
1
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
3rd Party Repository: Google Chrome
Then use apt-get
sudo apt-get install google-chrome-stable
-
Xubuntu 17.04: stephen@Aspire-V3:~$ sudo apt-get install google-chrome-stable <--snipped--> Package 'google-chrome-stable' has no installation candidate Apr 17, 2017 at 12:04
-
-
Consider editing improvements into your answer as comments can be deleted for various reasons (and not everyone reads them). Improving the quality of your answer may stop it from showing up in the low quality answer queue. Apr 17, 2017 at 12:23
There might be some dependency problem. So, what you could do is:
- Download chrome
.deb
file from official chrome site - Open terminal in that download folder
- in terminal run these commands:
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.
-
1Apt has been improved so that it can handle
.deb
files. Trysudo apt install google-chrome-stable_current_amd64.deb
, and it will handle any dependency problems. Apr 17, 2017 at 19:24 -
-
-
@yode "apt" is a high level implementation of "package management system", whereas "apt-get" is low-level implementation. You should do
man apt-get
, and then you will see "-f" means--fix-broken
– drmirkDec 10, 2017 at 17:10
You can use the command line utility dpkg
to install .deb files.
sudo dpkg -i <deb file path>
-
3It's better to use
sudo apt install <.deb file>
these days, since that will install the.deb
file and handle dependencies as well. From past experience,dpkg
will stop unsuccessfully halfway through installing Chrome and tell you to runapt install -f
. Apr 17, 2017 at 19:22 -
@ChaiT.Rex Never knew about installing .deb packages from apt (thanks for sharing), this would probably be the best way to install it. (If the apt command works in the same way with autoremove that makes uninstalling the package with dependencies a lot easier also.)– JohnDoeApr 18, 2017 at 5:17