2017-07-03 192 views
0

我正在構建配置安全腳本。我經常在開發過程中爲調試目的執行它。我使用數字海洋ubuntu 14液滴。很長一段時間一切正常,但前幾天相同的代碼停止工作(每執行是以新鮮的液滴)Dokku安裝失敗

我在安裝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 

有人知道如何解決這個問題嗎?謝謝

+1

後退,爲碼頭工人包名稱變更爲:泊塢窗-CE(社區添加)或泊塢窗-EE(企業版)。我有一段時間沒有玩過dokku,所以我不知道這是否是需要更新以反映新的上游軟件包名稱的dokku軟件包的情況? – programmerq

+0

您是否可以包含您的腳本的相關部分,以便有人可以嘗試重現該問題? – programmerq

回答

1

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

0

升級dokku 0.9的問題後,sovled三月