Debian升级报错:E: 仓库 “https://download.docker.com/linux/ubuntu bullseye Release” 没有 Release 文件。
Debian升级报错
·
在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
更多推荐
已为社区贡献1条内容
所有评论(0)