cat /etc/apt/sources.list
deb http://deb.debian.org/debian jessie main
deb http://deb.debian.org/debian jessie-updates main
deb http://security.debian.org jessie/updates main
Run Code Online (Sandbox Code Playgroud)
然后 apt-get 更新失败。
如果我删除第二行,那么上面的命令工作正常。
我检查了存储库。没有名称为 jessie-updates 的文件夹。
我们有许多需要 apt-get 更新的 docker 版本。
我无法更新所有 docker 文件以删除第二行。
继续进行的最佳方法是什么,以及它们是否被永久删除或临时故障
我有一台 Linux AWS 机器,几天前我开始遇到这个问题:
Err http://deb.debian.org jessie-updates/main amd64 Packages
Err http://deb.debian.org jessie-updates/main amd64 Packages
Err http://deb.debian.org jessie-updates/main amd64 Packages
404 Not Found
100% [5 Packages 9098 kB]Fetched 10.1 MB in 1s (7356 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Exited with code 100
Run Code Online (Sandbox Code Playgroud)
我的 CircleCI config.yml 错误在这里(在安装 aweswebsli 时):
- run:
name: Install awsebcli
working_directory: ~/
command: |
sudo apt-get update
sudo …Run Code Online (Sandbox Code Playgroud)