I tried to install docker with the following command:
$ sudo apt-get install docker* -y
but I got this error:
The following packages have unmet dependencies:
docker-ce : Conflicts: docker.io but 19.03.8-0ubuntu1.20.04.2 is to be installed
docker-ce-cli : Conflicts: docker.io but 19.03.8-0ubuntu1.20.04.2 is to be installed
docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)
E: Unable to correct problems, you have held broken packages
What does this implies and how do i resolve it? I saw similar response, but I still have same problem.
Thank you, Tony
docker.io
package (older, from official Ubuntu repository),docker-ce
package (newer, from Docker repositories). If problem persists, then runsudo apt-get update
and retry. If latter fails - check your repositories and reset them to default. – N0rbert Feb 21 '21 at 06:50