docker安装失败与debian wheezy未满足的依赖
我试图在debian wheezy上安装docker(我想在我的服务器上运行一些nodejs应用程序..)。 我遵循这里描述的步骤,但是当我执行
apt-get install docker-engine
我得到以下错误:
The following packages have unmet dependencies: docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable Recommends: cgroupfs-mount but it is not installable or cgroup-lite but it is not installable Recommends: yubico-piv-tool (>= 1.1.0~) but it is not installable E: Unable to correct problems, you have held broken packages.
作为docker和debian的总noob,我真的不知道是什么原因导致了这个错误。
在我的内核下面:
root@xxx:/home/xxx# uname -r 3.10.23-xxxx-std-ipv6-64
问候,
解决
这个github问题帮助我解决了这个安装问题。
正如“lidel”所提到的(2015年10月13日),我必须使用init-system-helpers的backport安装。
我刚刚在/etc/apt/sources.list.d/docker.list的末尾添加了下面的行
deb http://http.debian.net/debian wheezy-backports main
接着
apt-get update && apt-get install init-system-helpers apt-get install docker-engine
现在它工作