Hacker News new | ask | show | jobs
by andyking 5036 days ago
I get dependency errors on Chrome under Ubuntu 12.04, when I do a dpkg -i google-chrome-stable-whatever.deb.

But a quick apt-get -f install after I get those errors sorts it out.

3 comments

Absolutely; if the dependencies exist within the appropriate Ubuntu repositories, or the ppas you have active, then the needed libraries can be installed.

Random downloading of debs from Web sites could lead to a situation where a different version of a dependency is needed. "foo needs libnaff-ubuntu345 but libnaff-ubuntu345 is not going to be installed" type errors result.

If you open the .deb in Software Center, it'll take care of the dependencies for you at the same time.
On the command line, you can use (ubuntu-specific) `gdebi <packagename>.deb` to automate that process for you.