linux - 什么是 POSTGIS_VERSION 2.1.7+dfsg-3~94.git954a8d0.pgdg80+1?

标签 linux postgresql docker postgis

我能理解 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/

相关文章:

postgresql - 启用对 Postgres Server 9.3 的远程访问

configuration - 使用 systemd 配置风格的 Docker 配置

linux - 如何告诉 openssl rsautl 使用存储在 TPM 中的 key ?

sql - Maven 版本排序

python - 我可以将我的 TensorFlow Python 环境从 Windows 转移到 Ubuntu 吗?

json - 为什么planet_osm_ways表中tags列的数据类型不是JSON格式?

django - docker-compose django应用程序找不到Postgresql数据库

docker ps 显示空列表

c++ - Qt 造物主/Linux : setting compiler/linker option -ldl for dynamic libraries

c - 测量功能前后的挂钟时间