无法在Ubuntu 19.04上安装Postgresql

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无法在Ubuntu 19.04上安装Postgresql相关的知识,希望对你有一定的参考价值。

打字sudo apt-get install postgresql-11给我错误:

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.

如何解决此错误并最终在我的ubuntu上安装Postgres?

答案
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib

尝试运行该命令,让我知道你看到了什么。显然,postgres需要一些尚未安装的软件包

以上是关于无法在Ubuntu 19.04上安装Postgresql的主要内容,如果未能解决你的问题,请参考以下文章

markdown 在Ubuntu 19.04上安装LAMP Stack

其它综合-VMware虚拟机安装Ubuntu 19.04 版本

ubuntu19.04 plank添加Launchpad

Win10安装玩Ubuntu19.04后,bios和grub页面都没有Windows启动项,无法进入Windows

Ubuntu19.04详细安装教程

Ipsec (strongswan) *** 无法与 ubuntu 19.04 作为客户端正常工作?