본문 바로가기
학부연구생/오류 모음집

docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)unable to correct problems, you have held broken packages.

by ㅇㅏ도 2024. 2. 6.

docker 설치 중에

sudo apt-get install -y docker.io

이 명령어를 쳤는데 위와 같은 오류가 나타났다. 

 

docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)

unable to correct problems, you have held broken packages.

 

container의 의존성으로 인한 설치 실패이다

따라서 아래의 코드로 continer을 설치한다. 

 

sudo apt install containerd
dpkg -l containerd

 

위의 코드를 실행해서 해결했다.