PostgreSQL 9.1.7的上一次更新似乎破坏了我的APT。
当我尝试更新时,我会得到以下错误:
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:
postgresql : Depends: postgresql-9.1 but it is not going to be installed
postgresql-contrib-9.1 : Depends: postgresql-9.1 (= 9.1.7-0ubuntu12.04) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).我试着运行apt-get -f install,同样的错误。
最后,我尝试使用apt-get --purge remove postgresql删除所有内容,再次出现相同的错误。
注意:我使用以下PPA安装了PostgreSQL:https://launchpad.net/~pitti/+archive/postgresql
谢谢。
发布于 2013-02-06 07:25:45
检查常见问题。对于这些问题,他们有很多很好的答案。
https://askubuntu.com/questions/251319
复制相似问题