apt-get install several problems

March 10, 2014 3.1k views
Good Evening, I am trying to install postgres pack, but now i am in front of a problem in my droplet. every time i shot "apt-get install postgresql-9.3" i get following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: openjdk-7-jre : Depends: libpulse0 (>= 1:0.99.1) but it is not going to be installed postgresql-9.3 : Depends: libpq5 (>= 9.1~) but it is not going to be installed Depends: postgresql-client-9.3 but it is not going to be installed Depends: postgresql-common (>= 142~) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). i already did : apt-get -f install libpulse0 apt-get -f install apt-get -f update apt-get -f upgrade But i got no success. Do you have idea what it could be caused by? Att, Marcello Ribeiro
1 Answer
it shouldn't be that hard to make through, do this one by one accordingly:

apt-get -f install

apt-get install libpulse0

apt-get install libpq5

apt-get install postgresql-client-9.3

apt-get install postgresql-common

and last run your desired package:

apt-get install postgresql-9.3

do that and see if things work for you!!
Have another answer? Share your knowledge.