我安装了 tox messenger 的恶意客户端。运行 apt-get 后,我开始收到一些奇怪的警告和错误:
Ign:9 https://pkg.tox.chat/debian nightly InRelease
Ign:10 https://pkg.tox.chat/debian nightly Release
Ign:11 https://pkg.tox.chat/debian nightly/xenial amd64 Packages.diff/Index
Ign:12 https://pkg.tox.chat/debian nightly/xenial i386 Packages.diff/Index
Ign:13 https://pkg.tox.chat/debian nightly/xenial all Packages
Ign:14 https://pkg.tox.chat/debian nightly/xenial Translation-en_US
Ign:15 https://pkg.tox.chat/debian nightly/xenial Translation-en
Ign:16 https://pkg.tox.chat/debian nightly/xenial amd64 DEP-11 Metadata
Ign:17 https://pkg.tox.chat/debian nightly/xenial DEP-11 64x64 Icons
Ign:18 https://pkg.tox.chat/debian nightly/xenial amd64 Packages
...(really loads of them)
404 Not Found
Ign:19 https://pkg.tox.chat/debian nightly/xenial i386 Packages
Reading package lists... Done
W: The repository 'https://pkg.tox.chat/debian nightly Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://pkg.tox.chat/debian/dists/nightly/xenial/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
那么,什么地方坏了?我该如何修复它?
答案1
该pkg.tox.chat
存储库已被删除,可以从中了解到https://pkg.tox.chat/README.txt:
根据公告 [1],Debian 和 Ubuntu 软件包存储库已被删除。
[1]https://blog.tox.chat/2018/02/shutdown-of-the-debian-and-ubuntu-package-repository/
-- nurupo (2018-03-16 02:00 UTC)
从软件源列表中删除存储库。您可以通过“软件和更新”系统设置 GUI 执行此操作,也可以从文件/etc/apt/sources.list
或任何/etc/apt/sources.list.d/*.list
文件中删除其相应的行(具体取决于您添加它的方式)。