簡體   English   中英

安裝openstack

[英]Install openstack

在安裝openstack時,在Ubuntu 14.04中出現以下錯誤

chinmay123@ubuntu:~$ sudo apt-get install openstack
Reading package lists... Done
Building dependency tree       
Reading state information... Done

無法安裝某些軟件包。 這可能意味着您請求了一個不可能的情況,或者如果您使用的不穩定發行版中尚未創建某些必需的軟件包或將其從“傳入”中移出。 以下信息可能有助於解決這種情況:

 The following packages have unmet dependencies: openstack : Depends: juju-core but it is not going to be installed Depends: libvirt-bin but it is not going to be installed Depends: pollinate but it is not going to be installed Depends: python-neutronclient but it is not installable Depends: python-openstackclient but it is not installable Depends: python3-bson but it is not installable Depends: python3-jinja2 but it is not installable Depends: python3-kombu but it is not going to be installed Depends: python3-mock but it is not installable Depends: python3-nose but it is not installable Depends: python3-passlib but it is not installable Depends: python3-requests-oauthlib but it is not installable Depends: python3-ws4py but it is not installable E: Unable to correct problems, you have held broken packages. chinmay123@ubuntu:~$ 

我不確定為什么會收到此消息,請指導我如何進行。

系統可能正在嘗試安裝用於Ubuntu Xenial(16.04)的最新存儲庫-即OpenStack Newton。 最簡單的方法是使用16.04 Ubuntu運行安裝。

您可以使用以下方法添加Mitaka存儲庫

sudo add-apt-repository cloud-archive:mitaka

否則,您可以使用命令進行安裝(在添加了cloud-installer穩定存儲庫之后(請刪除您可能已安裝的任何其他存儲庫))

sudo apt-add-repository -y ppa:cloud-installer/stable sudo apt-get update sudo apt-get install -y openstack sudo openstack-install --version sudo openstack-install

請讓我知道這可不可以幫你

您收到此消息是因為存在未滿足的依賴關系。

您有很多選擇。

  1. 使用apt手動安裝依賴項

    這是解決問題的最困難的方法,因為您的依賴項也可能具有依賴項,但是您可以在錯誤消息中看到需要安裝的內容。

  2. sudo gdebi package.deb以使用此軟件包管理器,該軟件包管理器還獲取依賴項(或GUI版本gdebi-gtk

  3. 如果您使用apt但缺少依賴項,則可以嘗試使用sudo apt-get -f install進行修復。

  4. 我引用的是OpenStack網站,對此解決方案我不太了解,但聽起來很有希望:

有了Canonical的Ubuntu Cloud歸檔文件,用戶就可以在Ubuntu Server 12.04 LTS(及其依賴項)上安裝OpenStack的新版本,因為它們可以通過下一個Ubuntu LTS版本(大概為14.04)使用。

有關更多詳細信息,請參見https://wiki.ubuntu.com/ServerTeam/CloudArchive

我將從#3開始,因為您已經運行過apt

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM