gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 03:32:29 25 4
gpt4 key购买 nike

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

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com