gpt4 book ai didi

ruby-on-rails - Ubuntu 13.10 上的 PostgreSQL 9.3?

转载 作者:行者123 更新时间:2023-11-29 13:31:44 25 4
gpt4 key购买 nike

<分区>

我刚刚在 DigitalOcean 上获得了 VPS,并在上面安装了 Ubuntu 13.10。我正在尝试为我的 Rails 应用程序设置 PostgreSQL。我在/etc/apt/sources.list.d/pgdg.list 中插入了 deb http://apt.postgresql.org/pub/repos/apt/precise-pgdg main,然后尝试使用deb http://apt.postgresql.org/pub/repos/apt/saucy-pgdg maindeb http://apt.postgresql.org/pub/repos/apt/lucid -pgdg main (显然运行了 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.

问题是,即使我尝试 apt-getting 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,但它不让我安装。

如有任何帮助,我们将不胜感激。

谢谢!

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com