2013-08-23 45 views
1

我有一個ARM處理器的三星系列3 Chromebook。我做了一個Crouton chroot並安裝了Ubuntu cli。我已經安裝並運行了Node.js 0.10.15。我試圖安裝heroku-toolbelt,它不會運行。下面是命令:無法在Samsung ARM Chromebook上安裝Heroku toolbelt?

(precise)[email protected]:/# wget --no-check-certificate -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh

我以前--no-check-certificate,因爲當我把靜音模式關我瞭解到這是造成安裝踢。之後,它告訴我幾次它無法驗證證書,但它並說:

gpg: no valid OpenPGP data found. 
Get:1 http://toolbelt.heroku.com ./ Release.gpg [490 B] 
Hit http://ports.ubuntu.com precise Release.gpg   
Hit http://ports.ubuntu.com precise-updates Release.gpg 
Hit http://ports.ubuntu.com precise-security Release.gpg 
Hit http://ports.ubuntu.com precise Release 
Hit http://ports.ubuntu.com precise-updates Release 
Get:2 http://toolbelt.heroku.com ./ Release [1,673 B]     
Ign http://toolbelt.heroku.com ./ Release        
and a whole lot more Hit http://...... 

這之後,它說:

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following extra packages will be installed: 
    ca-certificates foreman git git-core git-man heroku libasn1-8-heimdal libcurl3-gnutls liberror-perl libgcrypt11 libgnutls26 libgpg-error0 
    libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libldap-2.4-2 libp11-kit0 
    libroken18-heimdal librtmp0 libruby1.9.1 libsasl2-2 libsasl2-modules libtasn1-3 libwind0-heimdal libyaml-0-2 openssl rsync ruby1.9.1 
Suggested packages: 
    git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb rng-tools gnutls-bin libsasl2-modules-otp 
    libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openssh-server ruby1.9.1-examples ri1.9.1 
    graphviz ruby1.9.1-dev 
The following NEW packages will be installed: 
    ca-certificates foreman git git-core git-man heroku heroku-toolbelt libasn1-8-heimdal libcurl3-gnutls liberror-perl libgcrypt11 libgnutls26 
    libgpg-error0 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libldap-2.4-2 
    libp11-kit0 libroken18-heimdal librtmp0 libruby1.9.1 libsasl2-2 libsasl2-modules libtasn1-3 libwind0-heimdal libyaml-0-2 openssl rsync ruby1.9.1 
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 
Need to get 13.2 MB of archives. 
After this operation, 28.1 MB of additional disk space will be used. 
WARNING: The following packages cannot be authenticated! 
    foreman heroku heroku-toolbelt 
E: There are problems and -y was used without --force-yes 
(precise)[email protected]:/# heroku 
bash: heroku: command not found 

發生了什麼?

回答

1

在你apt-get輸出,最後一行說:

E:-y不--force-是

如果你看一下actual script Heroku uses to install itself on linux,使用的有問題和對應於apt-get install -y heroku-toolbelt一行。

嘗試運行此操作:apt-get install -y --force-yes heroku-toolbelt

+0

它爲我工作。謝謝! –

相關問題