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