我能理解 2.1.7,但是之后的 +dfsg-3~94.git954a8d0.pgdg80+1 是什么?
我现在正在从适当的/docker-postgis构建postgis docker容器
并且出现错误
E: Version '2.1.7+dfsg-3~94.git954a8d0.pgdg80+1' for 'postgresql-9.3-postgis-2.1' was not found
E: Version '2.1.7+dfsg-3~94.git954a8d0.pgdg80+1' for 'postgis' was not found
好像是包管理的问题?
我怎样才能找到解决这个问题的方法?我怎样才能找到所有“颠覆”+dfsg-3~94.git954a8d0.pgdg80+1。
谢谢
最佳答案
有时仅使用版本号 2.1.7 是不够的,因为存在不同的操作系统、架构(甚至如您所见的 git 分支),因此开发人员将这些细节附加到版本中以避免混淆。如果您使用过:
apt-get update postgresq-2.1.7
这没有意义(或者它会给你默认选项),因为对于这个产品版本号来说,Docker 不足以设置你的环境。
dfsg = Debian Free Software Guidelines (specifies it is for specific version of Debian system, not for redHat for example)
git - version/branch specified
pgdg80 = PostgreSQL packages and backports for Debian/Ubuntu
看看here
关于linux - 什么是 POSTGIS_VERSION 2.1.7+dfsg-3~94.git954a8d0.pgdg80+1?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32748435/