Debian更新升级报错解决方案

错误显示:“E: 仓库 “https://download.docker.com/linux/ubuntu bullseye Release” 没有 Release 文件”

647cd7e4b91f0b393b292c7cd0f2d6ed.jpeg

在root下输入命令

apt update

会报以下错误

E: 仓库 “https://download.docker.com/linux/ubuntu bullseye Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

解决方案:

进入root后

root@xxx:~# cd /etc/apt/sources.list.d

root@xxx:/etc/apt/sources.list.d# ls
docker.list

root@xxx:/etc/apt/sources.list.d# rm docker.list 

root@xxx:/etc/apt/sources.list.d# apt-get update && apt-get upgrade
© 版权声明
THE END
喜欢就支持一下吧
点赞6打赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容