我最近部署了應用程序組合應用程序。現在,我想通過不同的機器(linux mint 14)更新我的應用程序。因此,要更新我的應用程序,絕對需要在我的機器上安裝heroku toolbelt,後者我可以繼續使用剩餘的東西。對?。 但是,這裏我的問題是「我無法在我的機器上安裝heroku工具欄」。無法在linux mint 14上安裝heroku-toolbelt?
在安裝過程中它顯示了以下錯誤
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
This script requires superuser access to install apt packages.
You will be prompted for your password by sudo.
--2013-11-14 16:23:38-- https://toolbelt.heroku.com/apt/release.key
Resolving toolbelt.heroku.com (toolbelt.heroku.com)... 174.129.17.173, 23.21.198.2, 54.243.76.97
Connecting to toolbelt.heroku.com (toolbelt.heroku.com)|174.129.17.173|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1737 (1.7K) [application/octet-stream]
Saving to: `STDOUT'
100%[=======================================>] 1,737 --.-K/s in 0s
2013-11-14 16:23:39 (22.2 MB/s) - written to stdout [1737/1737]
OK
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://archive.ubuntu.com quantal InRelease
Ign http://ppa.launchpad.net quantal InRelease
Ign http://packages.linuxmint.com nadia InRelease
Hit http://dl.google.com stable Release
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://archive.canonical.com quantal InRelease
Ign http://archive.ubuntu.com quantal-updates InRelease
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://packages.medibuntu.org quantal InRelease
Get:2 http://security.ubuntu.com quantal-security Release.gpg [933 B]
Get:3 http://packages.linuxmint.com nadia Release.gpg [198 B]
Hit http://archive.canonical.com quantal Release.gpg
Hit http://archive.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release
Ign http://toolbelt.heroku.com ./ InRelease
Get:4 http://security.ubuntu.com quantal-security Release [49.6 kB]
Hit http://archive.canonical.com quantal Release
Get:5 http://packages.linuxmint.com nadia Release [18.6 kB]
Get:6 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:7 http://packages.medibuntu.org quantal Release.gpg
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://archive.canonical.com quantal/partner i386 Packages
Get:8 http://toolbelt.heroku.com ./ Release.gpg [490 B]
Hit http://archive.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal/main i386 Packages
Get:9 http://packages.medibuntu.org quantal Release
Ign http://packages.medibuntu.org quantal Release
E: GPG error: http://packages.medibuntu.org quantal Release: The following signatures were invalid: NODATA 1 NODATA 2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package heroku-toolbelt
所以,這 後,我按照谷歌搜索,堆棧溢出搜索來解決疑難問題。我試圖通過一些其他安裝它它是通過堆棧溢出確定,但它仍然沒有解決我的問題,它顯示了libnss3依賴誤差
libnss3-1d : Depends: libnss3 (= 3.13.1.with.ckbi.1.88-1ubuntu7) but 3.14.3-0ubuntu0.12.10.1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
過程中,我已經取代了這個libnss3.13.1.with.ckbi.1.88-1ubuntu7以L ibnss3.14.3-0ubuntu0.12.10.1爲了支持Google Chrome瀏覽器。 但Heroku不支持它。如果我將安裝以前版本化的libnss3,那麼我應該刪除google-chrome.I需要google chrome,因爲它提供了用於調試和分析應用程序的最佳開發人員工具支持。
請幫我解決這個安裝heroku-toolbelt問題。
謝謝。
謝謝。我試過了,但出現如下錯誤,如「此腳本需要超級用戶訪問才能安裝軟件」 sudo會提示您輸入密碼 sh:7:[[:not found sh:31:[[:not發現 安裝完成「的第一個命令。然後我執行第二個。爲了測試heroku,我只是在命令行上使用了heroku,然後返回「/ usr/bin/env:ruby:沒有這樣的文件或目錄」。現在,我該怎麼辦....謝謝 – suneetha
我已經這樣做了,它仍然給我同樣的錯誤。路徑不正確?運行安裝命令時,您處於哪個目錄中? – ahnbizcad