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.