我使用Ubuntu 12.04并且刚刚运行
sudo apt-get upgrade
...并最终收到此错误消息...
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)
我看到这是一个依赖问题,但我不知道如何解决它......我运行了 sudo apt-get -f install 并没有解决任何问题......
旁注:我从存储库 ppa:pitti/postgresql 安装了 postgres,如果这很重要的话。