我正在尝试做超级账本结构(设置环境),它需要 docker。我尝试搜索解决安装 docker 的互联网,但无济于事。以下是我尝试安装docker时遇到的错误。
在 git bash(git) 我尝试使用sudo apt-get install docker-engine
. 但它说
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
Docker-engine: Depends: init-system-helpers (>= 1.13~) but it is not installable
Depends: sysv-rc (>= 2.88dsf-24) but 2.88dsf-13.10ubuntu11 is to be installed or
file-rc (>= 0.8.16) but it is not installable
Depends: libc6 (>= 2.17) but 2.15-0ubuntu10 is to be installed
Depends: libdevmapper1.02.1 (>= 2:1.02.63) but 2:1.02.48-4ubuntu7 is to be installed
Depends: libsystemd-journal0 (>= 201) but it is not installable
Recommends: aufs-tools but it is not going to be installed
Recommends: cgroupfs-mount but it is not installable or
cgroup-lite but it is not going to be installed
Recommends: git but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经按照这个网站的每一步安装 docker: https ://docs.docker.com/engine/installation/linux/ubuntulinux/
这是我尝试构建超级账本结构的网站(在 vagrant 之外构建的阶段,安装 docker): http ://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/build/