Ruby on rails Ubuntu 13.10上的PostgreSQL 9.3?

Ruby on rails Ubuntu 13.10上的PostgreSQL 9.3?,ruby-on-rails,postgresql,ubuntu,digital-ocean,Ruby On Rails,Postgresql,Ubuntu,Digital Ocean,我刚在DigitalOcean上安装了一个VPS,并安装了Ubuntu13.10。我正在尝试为我的Rails应用程序设置PostgreSQL。我插入了debhttp://apt.postgresql.org/pub/repos/apt/ 在/etc/apt/sources.list.d/pgdg.list中精确输入pgdg main,然后我尝试使用debhttp://apt.postgresql.org/pub/repos/apt/ saucy pgdg干管和debhttp://apt.post

我刚在DigitalOcean上安装了一个VPS,并安装了Ubuntu13.10。我正在尝试为我的Rails应用程序设置PostgreSQL。我插入了
debhttp://apt.postgresql.org/pub/repos/apt/ 在/etc/apt/sources.list.d/pgdg.list中精确输入pgdg main
,然后我尝试使用
debhttp://apt.postgresql.org/pub/repos/apt/ saucy pgdg干管
debhttp://apt.postgresql.org/pub/repos/apt/ lucid pgdg主电源
(显然运行了
sudo-apt-get-update&&sudo-apt-get-upgrade
),但我在运行
sudo-apt-get-install-postgresql-9.3 pgadmin3
时一直收到这条消息:

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
问题是,即使我尝试获取postgresql-client-9.3,它也会告诉我需要另一个包:

The following packages have unmet dependencies:
 postgresql-client-9.3 : Depends: libpq5 (>= 9.3.2) but 9.1.11-0ubuntu0.13.10 is to be installed
E: Unable to correct problems, you have held broken packages.
在那之后,它一直告诉我安装libpq5,但它不允许我安装

在此方面的任何帮助都将不胜感激


谢谢!

我知道这并不能真正回答你的问题,但我会用Ubuntu12.04 LTS重新安装Ubuntu,你安装Postgresql 9.3将不会有任何问题。经验法则是:如果你被安装任务困住了,你会在生产中遇到更多麻烦


这只是我的建议,但在我安装的所有东西上都遵循了这个建议。我自己运行了几十台群集postgresql服务器。

这个问题似乎离题了,因为它应该转移到askubuntu。是的,这太愚蠢了。太麻烦了。。不,不愚蠢,但肯定很麻烦。你能投票给我答案吗?:)