【发布时间】:2017-07-03 07:56:33
【问题描述】:
我正在构建配置 ansible 脚本。我经常在开发过程中出于调试目的执行它。我使用数字海洋 ubuntu 14 滴。很长一段时间一切都很好,但几天前相同的代码停止工作(每次执行都是在一个新的 droplet 上)
我在安装 Dokku 0.4.3 时出错
--> Installing dokku
OK
deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main
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:
dokku : Depends: docker-engine but it is not installable or
docker-engine-cs but it is not installable or
lxc-docker but it is not installable
E: Unable to correct problems, you have held broken packages.
我使用这个命令进行安装:
wget -qO- https://raw.github.com/progrium/dokku/v0.4.3/bootstrap.sh | sudo DOKKU_TAG=v0.4.3 bash
有人知道如何解决这个问题吗?谢谢
【问题讨论】:
-
早在 3 月份,docker 的包名称就更改为:docker-ce(社区添加)或 docker-ee(企业版)。好久没玩dokku了,不知道是不是dokku包需要更新以反映新的上游包名?
-
能否包含您的 ansible 脚本的相关部分,以便有人可以尝试重现该问题?