繁体   English   中英

docker安装失败,对debian wheezy的依赖关系未得到满足

[英]docker install fails with unmet dependencies on 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的新手,我真的不知道是什么导致了这个错误。

在我的内核下面:

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 

现在可以了

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM