![16.04 docker-engine 安装失败](https://linux22.com/image/1143011/16.04%20docker-engine%20%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5.png)
$ apt-get install docker-engine
Depends: llibvdevmapper1.02.1 (>=2:1.02.97) but 2:1.02.90-2.2+deb8ul is to be installed
Depends: libltdl7 (>=2.4.6) but 2.4.2-1.11_b1 is to be installed
E:Unable to correct problems, you have held broken packages.
这是一个新安装,我该如何解决这个问题?
答案1
手动重新安装或者更新依赖项。
要更新或安装:
apt-get install llibvdevmapper1.02.1
apt-get install libltdl7
删除然后重新安装:
apt-get remove llibvdevmapper1.02.1
apt-get remove libltdl7
apt-get install llibvdevmapper1.02.1
apt-get install libltdl7