[英]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.