我最近部署了投资组合应用程序。现在,我想通过不同的机器(linux mint 14)更新我的应用程序。所以,要更新我的应用程序,我肯定需要在我的机器上安装 heroku toolbelt,之后我可以继续处理剩下的事情。正确的?。但是,这里我的问题是“我无法在我的机器上安装 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
为了支持 Google-chrome 浏览器,我已经用 libnss3.14.3-0ubuntu0.12.10.1 替换了这个 libnss3.13.1.with.ckbi.1.88-1ubuntu7。但是 Heroku 不支持它。如果我要安装以前版本的 libnss3,那么我应该删除 google-chrome。我需要 google chrome,因为它为调试和分析应用程序提供了最好的开发人员工具支持。
请帮我解决这个安装 heroku-toolbelt 的问题。
谢谢。