1

我有一台配备 ARM 处理器的三星 Series 3 Chromebook。我做了一个面包块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

发生了什么?

4

1 回答 1

1

在您的apt-get输出中,最后一行指出:

E: 有问题并且使用-y 没有--force-yes

如果您查看Heroku 用于在 linux 上安装自身的实际脚本,则对应于apt-get install -y heroku-toolbeltline.

尝试运行这个:apt-get install -y --force-yes heroku-toolbelt

于 2013-08-27T19:03:21.290 回答