我目前正在尝试学习/使用auto-apt
命令在Debian测试中,但它似乎无法更新其数据库:
> cat /etc/apt/sources.list
deb http://ftp.debian.org/debian testing main contrib non-free
> sudo auto-apt update
Downloading http://ftp.debian.org/debian/dists/testing Contents-amd64.gz ...
2015-07-25 18:12:02 ERROR 404: Not Found.
是否有一个选项来指定,或者我的sources.list
故障?
您可以简单地修改您的/etc/apt/sources通过添加以下行来列出文件:
deb http://ftp.debian.org/debian testing/main /
deb http://ftp.debian.org/debian testing/contrib /
deb http://ftp.debian.org/debian testing/non-free /
输入sudo auto-apt update
命令,正常工作。在此之后,您可以恢复原始源。列表文件,直到下次您将不得不执行另一个自动更新