docker-ce:取决于:containerd.io(>=1.4.1)但它不会被安装

尝试在 Debian 10 (Buster) 上安装 Docker 时出现错误

The following packages have unmet dependencies:
 docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

回答

对我有用的解决方案是在download.docker.com上安装最新版本的containerd.io

curl -O https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.4.3-1_amd64.deb
sudo apt install ./containerd.io_1.4.3-1_amd64.deb


以上是docker-ce:取决于:containerd.io(>=1.4.1)但它不会被安装的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>