sudo apt-get upgrade on my 12.04 server, and I have become stuck with a PostgreSQL dependency.
The console output (of
sudo apt-get -f install) is below:
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 the error message indicates its a followup error from a previous failure. Errors were encountered while processing: postgresql-9.1 E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I resolve this issue?
nb. I have a production database running on this server, so purge/reinstall of postgres is a last resort.
As requested, the output of
apt-get update: http://paste.ubuntu.com/1469631/