我一直在尝试将Ubuntu机器中的postgresql从9.3升级到10。
sudo apt-get install postgresql-10
我得到了
The following packages have unmet dependencies:
postgresql-10 : Depends: postgresql-client-10 but it is not going to be installed
Depends: postgresql-common (>= 182~) but it is not going to be installed
Depends: libicu55 (>= 55.1-1~) but it is not installable
Depends: libpq5 (>= 9.3~) but it is not going to be installed
Depends: libsystemd0 but it is not installable然后当我试着
sudo apt-get install libpq5
我得到了
The following packages have unmet dependencies:
libpq5 : Depends: libssl1.0.0 (>= 1.0.2~beta3) but 1.0.1f-1ubuntu2.26 is to be installed互联网上的一个答案是我安装了特定的版本,所以我试了一下。
sudo apt-get install libssl1.0.0=1.0.2g-1ubuntu4.1
但我有
E: Version '1.0.2g-1ubuntu4.1' for 'libssl1.0.0' was not found我在互联网上尝试了很多答案,但没有用。
发布于 2018-11-06 09:30:14
所以它没有安装的原因是因为它试图安装与ubuntu14.04不兼容的版本,所以我从同事那里获得了安装的版本,并且成功了。要安装libpq5:amd64 11.0-1.pgdg14.04+2 postgresql-client-common 195.pgdg14.04+1 postgresql-client-10 10.5-2.pgdg14.04+1 postgresql-10 10.5-2.pgdg14.04+1的版本
https://askubuntu.com/questions/1089759
复制相似问题