欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

kail 升级错误:"E:"https://download.docker.com/linux/debian kali-rolling Release "存储库中没有 Release 文件。

最编程 2024-03-10 09:14:51
...
root@brother:~# sudo apt update
命中:1 http://mirrors.ustc.edu.cn/kali kali-rolling InRelease
忽略:2 https://download.docker.com/linux/debian kali-rolling InRelease
错误:3 https://download.docker.com/linux/debian kali-rolling Release
  404  Not Found [IP: 65.8.85.83 443]
正在读取软件包列表... 完成
E: 仓库 “https://download.docker.com/linux/debian kali-rolling Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
root@brother:~# cd /etc/apt/sources.list.d
root@brother:/etc/apt/sources.list.d# ls
docker.list
root@brother:/etc/apt/sources.list.d# rm docker.list 
root@brother:/etc/apt/sources.list.d# apt-get update && apt-get upgrade

解决方案:

root@brother:~# cd /etc/apt/sources.list.d
root@brother:/etc/apt/sources.list.d# ls
docker.list
root@brother:/etc/apt/sources.list.d# rm docker.list 
root@brother:/etc/apt/sources.list.d# apt-get update && apt-get upgrade

原文地址:https://www.cnblogs.com/chrysanthemum/p/14720786.html