【问题标题】:docker install fails with unmet dependencies on debian wheezydocker install 失败,未满足对 debian wheezy 的依赖
【发布时间】:2016-02-19 21:26:46
【问题描述】:

我正在尝试在 debian wheezy 上安装 docker(我想在我的服务器上运行一些 nodejs 应用程序..)。我已经按照here 描述的步骤进行操作,但是当我执行时

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

问候,

【问题讨论】:

    标签: linux docker debian


    【解决方案1】:

    已解决

    这个github问题here帮我解决了这个安装问题。

    正如“lidel”(2015 年 10 月 13 日)所提到的,我必须使用 init-system-helpers 的反向安装 ...

    我刚刚在 /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 
    

    现在它可以工作了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-21
      • 1970-01-01
      相关资源
      最近更新 更多