我正在尝试在ubuntu 19.10 (Eoan)上安装postgresql。我尝试过很多方法,但似乎连最新版本的postgresql (12)都不支持。有没有人知道它是否可以以某种方式安装?
这是我在尝试安装postgresql 11时收到的错误:
$ 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.发布于 2020-02-27 18:33:07
试试这个:https://askubuntu.com/a/1074728
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt-get update
sudo apt-get install libicu55https://stackoverflow.com/questions/60043059
复制相似问题