我有一台配备ARM处理器的三星Series 3 Chromebook。我做了一个Crouton chroot
并安装了Ubuntu cli。我安装并运行了Node.js 0.10.15。我尝试安装heroku-toolbelt
但它不会运行。以下是命令:
(precise)root@localhost:/# 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)root@localhost:/# heroku
bash: heroku: command not found
发生了什么事?
答案 0 :(得分:1)
在apt-get
输出中,最后一行说明:
E:有问题,-y没有使用--force-yes
如果您查看与apt-get install -y heroku-toolbelt
行对应的actual script Heroku uses to install itself on linux。
尝试运行此代码:apt-get install -y --force-yes heroku-toolbelt