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:

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,

1. sudo dpkg -i google-chrome-stable_current_amd64.deb [ this will report dependencies error ]
2. sudo apt-get -f install [ this will resolve dependencies ]
3. sudo dpkg -i google-chrome-stable_current_amd64.deb [ now, this same command will actually install the package ]

Same applies for all other packages.

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Core Kernel C Programs Development Environment Setup Documents / Books Errors & Failures File Systems Framebuffer / Display Driver git Go Language Programs Hardware Platforms Home JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Procfs Filesystem Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded
Tags: ,

Leave a Reply