首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在linux mint 14上安装heroku-toolbelt?

无法在linux mint 14上安装heroku-toolbelt?
EN

Stack Overflow用户
提问于 2013-11-14 19:12:31
回答 2查看 1.6K关注 0票数 0

我最近部署了portfolio应用。现在,我想通过不同的机器(Linux mint 14).So来更新我的应用程序,为了更新我的应用程序,我肯定需要在我的机器上安装heroku工具带,以后我可以继续做剩下的事情。对吗?。但是,这里我的问题是“我不能在我的机器上安装heroku工具带”。

在安装进程时,它显示以下错误

代码语言:javascript
复制
 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依赖项的错误,如下所示

代码语言:javascript
复制
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.14.3-0ubuntu0.12.10.1替换了这个libnss3.13.1.with.ckbi.1.88-1ubuntu7,以便支持Google-chrome浏览器。但是Heroku不支持它。如果我要安装以前版本的libnss3,那么我应该删除google - chrome。我需要google chrome,因为它为调试和分析应用程序提供了最好的开发工具支持。

请帮我解决这个安装heroku工具带的问题。

谢谢。

EN

回答 2

Stack Overflow用户

发布于 2013-11-14 19:17:26

试一试

代码语言:javascript
复制
   wget -qO- https://toolbelt.heroku.com/install.sh | sh

然后使用以下命令将Heroku CLI添加到您的路径中:

代码语言:javascript
复制
   echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.profile
票数 0
EN

Stack Overflow用户

发布于 2013-11-15 16:51:19

我认为错误"/usr/bin/env: ruby:没有这样的文件或目录“意味着您需要安装Ruby。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19976182

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档