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

时间:2013-11-14 11:12:31

标签: heroku

我最近部署了投资组合应用程序。现在,我想通过不同的机器更新我的应用程序(linux mint 14)。所以,为了更新我的应用程序,我肯定需要在我的机器上安装heroku工具带,后者我可以继续使用剩余的东西。对?。 但是,我的问题是“我无法在我的机器上安装heroku工具带”。

在安装过程中,它显示以下错误

 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替换为libnss3.14.3-0ubuntu0.12.10.1,以支持Google-chrome浏览器。 但Heroku不支持它。如果我将安装以前版本化的libnss3,那么我应该删除google-chrome。我需要谷歌浏览器,因为它为调试和分析应用程序提供了最好的开发人员工具支持。

请帮我解决这个安装heroku-toolbelt问题。

感谢。

2 个答案:

答案 0 :(得分:0)

尝试

   wget -qO- https://toolbelt.heroku.com/install.sh | sh

然后使用以下命令将Heroku CLI添加到PATH:

   echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.profile

答案 1 :(得分:0)

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