skip to Main Content

I have an error when trying to install Docker on Debian 10 (Buster)

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.

2

Answers


  1. Chosen as BEST ANSWER

    The solution that worked for me is to install the last version of containerd.io on download.docker.com.

    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
    

  2. I got the same error because I applied Docker installation steps for Ubuntu on my Debian server.

    To fix this:

    • Clear the contents of /etc/apt/sources.list.d/docker.list
    • Try to install Docker CE again using official Docker docs for Debian
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search