I use Ubuntu 12.04 and have just ran

sudo apt-get upgrade

...and ended up with this error message...

    dpkg: dependency problems prevent configuration of postgresql-9.1:
 postgresql-client-9.1 (9.1.7-0ubuntu12.04) breaks postgresql-9.1 (<< 9.1.7-0ubuntu12.04) and is installed.
  Version of postgresql-9.1 to be configured is 9.1.6-1~precise2.
dpkg: error processing postgresql-9.1 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)

I see that it is a dependency issue but I don't know how to resolve it... I ran sudo apt-get -f install and it resolved nothing...

sidenote: I installed postgres from repository ppa:pitti/postgresql, if that matters somehow.

share|improve this question

closed as off topic by A.H., John Conde, Nope, Jens Björnhager, Shiplu Mokaddim Dec 23 '12 at 1:20

Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

    
Just a note: Ask on superuser.com instead. – MTilsted Dec 24 '12 at 10:51
1  
Since this question appears when searching for this specific problem, I thought I'd share the question that resolved it for me. See if my askubuntu question helps at all. – Peter Mellett Dec 27 '12 at 16:48

Browse other questions tagged or ask your own question.