首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ubuntu 19.10上安装postgresql

在ubuntu 19.10上安装postgresql
EN

Stack Overflow用户
提问于 2020-02-04 00:12:38
回答 1查看 1.3K关注 0票数 0

我正在尝试在ubuntu 19.10 (Eoan)上安装postgresql。我尝试过很多方法,但似乎连最新版本的postgresql (12)都不支持。有没有人知道它是否可以以某种方式安装?

这是我在尝试安装postgresql 11时收到的错误:

代码语言:javascript
复制
$ sudo apt-get install postgresql-11
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:
 postgresql-11 : Depends: postgresql-client-11
                 Depends: libicu55 (>= 55.1-1~) but it is not installable
                 Depends: libpq5 (>= 9.3~) but it is not going to be installed
                 Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
                 Recommends: sysstat but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
EN

回答 1

Stack Overflow用户

发布于 2020-02-27 18:33:07

试试这个:https://askubuntu.com/a/1074728

代码语言:javascript
复制
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt-get update
sudo apt-get install libicu55
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60043059

复制
相关文章

相似问题

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