我试图在Ubuntu18.04上安装PostgreSQL9.4(因为BDR支持),并遵循本建筑教程。
但是,当im为postgres安装一些依赖项时,它的错误
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吗?谢谢。
发布于 2018-10-30 02:56:26
在Centos 7中安装PostgreSQL 9.4或更高版本时,我也遇到了同样的问题。
但我发现,在PostgreSQL站点上,他们有几个发行版和不同版本的二进制文件。
对于Ubuntu,PostgreSQL维护它的存储库,启用和安装它们的说明可以在:https://www.postgresql.org/download/linux/ubuntu/中找到。
在我的例子中,它是编译它或从那里安装它。
https://askubuntu.com/questions/1088444
复制相似问题