How to resolve dependencies generated during installation with “dpkg -i” ?

While I was trying to install chrome browser of a fresh installed ubuntu 14.04 with deb, it reported following error,

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.

dpkg: error processing package google-chrome-stable (–install):
dependency problems – leaving unconfigured

Errors were encountered while processing:
google-chrome-stable

Now, while I tried to resolve the dependancy packages like libappindicator1 manually as mentioned in error, it didn’t worked,
so, found an ultimate solution like, run “sudo apt-get -f install” command just after “sudo dpkg -i ” command, it will do the work of resolving the dependancies and installing necessary packages for you.

So, final solution is,

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

This will report dependencies error

$ sudo apt-get -f install

This will resolve dependencies

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

now, this same command will actually install the package

Same applies for all other packages.

How to install docker on ubuntu AWS... x
How to install docker on ubuntu AWS Server

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto Embedded Linux