是否有可能在Ubuntu 18.04上安装postgreSQL扩展'postgis'版本2.2.1,即使它没有列在软件包中的任何地方?唯一可用的版本是2.4.4,我从Ubuntu 16.04升级,没有这样的问题 .

我尝试了与Install PostGIS on Ubuntu 16.04 Xenial相关的能力和解决方案

当我以某种方式找到包时,尝试安装它会返回类似的错误,它们是:

The following packages have unmet dependencies:

postgis : Depends: libgdal1h (>= 1.9.0) but it is not installable
          Depends: libgeos-c1 (>= 3.4.2) but it is not installable
          Depends: liblwgeom-2.3-0 (>= 2.0.0) but it is not going to be installed

我也尝试过所有命令:

sudo apt-get update, upgrade, -f install  etc.

有没有人遇到类似的问题?有某种解决方法吗?我真的需要这个特定版本的postgis才能运行应用程序 . 使用postgis 2.4.4会导致问题 . 目前我唯一的解决方案是再次安装Ubuntu 16.04 .