我正在构建provisioning ansible脚本。在开发过程中,我经常出于调试目的而执行它。我用的是数字海洋ubuntu 14水滴。在很长一段时间里,一切都是正常的,但几天前,相同的代码停止工作(每次执行都是在一个新的days上)
安装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有谁知道如何解决这个问题吗?感谢‘s
发布于 2017-07-04 00:25:06
Dokku的版本非常过时(发布于2015年10月)。有关更新的安装http://dokku.viewdocs.io/dokku/,请参阅他们的主页URL。
我猜您正在使用(或创建)的任何攻略都需要更新。版本0.4.3的Dokku安装脚本可能假设Docker包名称为docker-engine。Dokku安装的新Docker包名称是在0.8:https://github.com/dokku/dokku/commit/1e387b3b420a49ff87d16265a30efade2f1a0dbf左右引入的。
发布于 2017-07-04 04:33:58
将dokku升级到0.9后,问题已解决
https://stackoverflow.com/questions/44880404
复制相似问题