首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu 18.04上安装Postgresql 9.4

在Ubuntu 18.04上安装Postgresql 9.4
EN

Ask Ubuntu用户
提问于 2018-10-30 02:39:57
回答 1查看 11.2K关注 0票数 6

我试图在Ubuntu18.04上安装PostgreSQL9.4(因为BDR支持),并遵循本建筑教程

但是,当im为postgres安装一些依赖项时,它的错误

代码语言:javascript
复制
root@ubuntu:/home/ubuntu# sudo apt-get build-dep postgresql-9.4
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:postgresql-9.4 : Depends: openjade but it is not installable
                            Depends: docbook-dsssl but it is not installable
                            Depends: docbook-xml but it is not installable
                            Depends: docbook-xsl but it is not installable
                            Depends: docbook but it is not installable
                            Depends: opensp but it is not installable
E: Unable to correct problems, you have held broken packages.

它可以在ubuntu18.04上安装PostgreSQL9.4吗?谢谢。

EN

回答 1

Ask Ubuntu用户

发布于 2018-10-30 02:56:26

在Centos 7中安装PostgreSQL 9.4或更高版本时,我也遇到了同样的问题。

但我发现,在PostgreSQL站点上,他们有几个发行版和不同版本的二进制文件。

对于Ubuntu,PostgreSQL维护它的存储库,启用和安装它们的说明可以在:https://www.postgresql.org/download/linux/ubuntu/中找到。

在我的例子中,它是编译它或从那里安装它。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1088444

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档