16.04 docker-engine 安装失败

16.04 docker-engine 安装失败
$ 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 

相关内容