我有一台 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
我的 CircleCI config.yml 错误在这里(在安装 aweswebsli 时):
- run:
name: Install awsebcli
working_directory: ~/
command: |
sudo apt-get update
sudo apt-get install python-dev python-pip
sudo easy_install --upgrade six
sudo pip install urllib3==1.21.1
sudo pip install awsebcli==3.14.11
一些解决方案建议修改
/etc/apt/resources.list
但我在我的 AWS Linux 上找不到这个文件夹/文件。
其他帖子建议更换这一行
sudo apt-get update
和
apt-get -o Acquire::Check-Valid-Until=false update
没有成功。任何帮助表示赞赏。