小编bub*_*ara的帖子

存储库“http://apt.postgresql.org/pub/repos/aptstretch-pgdgRelease”没有发布文件?

我在构建 Docker 容器时遇到错误。Debian 的 Postgres Stretch 似乎存在问题。我看到 Debian strech 已被删除并且不再受支持。

我在这里发现了类似的问题:存储库“http://apt.postgresql.org/pub/repos/aptstretch-pgdgRelease”没有发布文件,但我没有设法解决我的问题。

这是一个错误:

W: The repository 'http://apt.postgresql.org/pub/repos/apt stretch-pgdg Release' does not have a Release file.
E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/stretch-pgdg/11/binary-amd64/Packages  404  Not Found [IP: 147.75.85.69 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'db' failed to build: The command '/bin/sh -c apt-get update &&     apt-get install dos2unix &&     apt-get clean' returned a non-zero code: 100
Run Code Online (Sandbox Code Playgroud)

这是我尝试运行的 Dockerfile 的一部分: …

postgresql ubuntu deb docker debian-stretch

4
推荐指数
1
解决办法
3804
查看次数

标签 统计

deb ×1

debian-stretch ×1

docker ×1

postgresql ×1

ubuntu ×1