728x90
반응형
개요
kubenetes 설치를 진행하기 위해 docker를 설치하는데 아래와 같은 에러가 나왔다.
$ sudo apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)
E: Unable to correct problems, you have held broken packages.
해결
$ sudo apt install containerd
containerd 버전 확인
$ dpkg -l containerd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un containerd <none> <none> (no description available)
Reference
https://askubuntu.com/questions/1273024/docker-io-depends-containerd-1-2-6-0ubuntu1
728x90
반응형