在从 docker-image 执行“apt-get update”期间,出现以下错误:
W: The repository 'http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial Release' does not have a Release file. Failed to fetch http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu/dists/xenial/main/binary-amd64/Packages 403 Forbidden
我假设包裹已被删除? 我该如何解决?
我怀疑您是从过时的 URL 和/或参考开始的。
首先,它应该是 https 而不是 http。
其次,查看 https://launchpad.net/~deadsnakes 我看到两个子存储库,并且 没有一个是旧版本的 xenial 构建选项,但只有 ;jammy' (22.04) 或 'focal' (18.04) ).