简体   繁体   English

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

[英]docker install fails with unmet dependencies on debian wheezy

I'm trying to install docker on a debian wheezy (I want to run some nodejs apps on my server..). 我正在尝试在debian wheezy上安装docker(我想在服务器上运行一些nodejs应用程序。)。 I've followed steps described here but when I execute 我已按照此处描述的步骤进行操作但是执行时

apt-get install docker-engine

I get the following error: 我收到以下错误:

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.

Being a total noob with docker and debian I don't really know whats causing this error. 作为docker和debian的新手,我真的不知道是什么导致了这个错误。

below my kernel: 在我的内核下面:

root@xxx:/home/xxx# uname -r
3.10.23-xxxx-std-ipv6-64

Regards, 问候,

resolved 解决

This github issue here Helped me resolve this installation problem. 此处的 github问题帮助我解决了此安装问题。

As mentionned by 'lidel' (13 Oct 2015) i have to use backport installs of init-system-helpers ... 如“ lidel”(2015年10月13日)所述,我必须使用init-system-helpers的backport安装...

i've just added the line below at the end of /etc/apt/sources.list.d/docker.list 我刚刚在/etc/apt/sources.list.d/docker.list的末尾添加了以下行

deb http://http.debian.net/debian wheezy-backports main

and then 接着

apt-get update && apt-get install init-system-helpers
apt-get install docker-engine 

and now it works 现在可以了

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

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