【发布时间】:2021-05-06 19:45:41
【问题描述】:
这个问题已经解决了阅读下面关于如何在 RPI3 上下载 HEROKU CLI 的答案
只是说。抱歉,之前是否有人问过这个问题 - 我找不到。
我有一个 Raspberry PI 3,我正在尝试安装 Heroku CLI。如果我尝试以正常方式进行操作,对于 ubuntu 或 linux,它会失败。Can't install Heroku CLI on Raspbiandosent wokr 因为我收到错误
wget https://cli-assets.heroku.com/branches/stable/heroku-OS-ARCH.tar.gz
--2018-05-23 17:15:46-- https://cli-assets.heroku.com/branches/stable/heroku-OS-ARCH.tar.gz
正在解析 cli-assets.heroku.com (cli-assets.heroku.com)... 54.230.9.187, 54.230.9.194, 54.230.9.84, ...
正在连接到 cli-assets.heroku.com (cli-assets.heroku.com)|54.230.9.187|:443... 已连接。
HTTP 请求已发送,等待响应... 404 Not Found
2018-05-23 17:15:50
错误 404:未找到。
这篇文章无论如何都不起作用Heroku CLI alternative download location 并返回错误
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
dpkg: error processing package heroku (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of heroku-toolbelt:
heroku-toolbelt depends on heroku (= 3.99.4); however:
Package heroku is not configured yet.
dpkg: error processing package heroku-toolbelt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
heroku
heroku-toolbelt
E: Sub-process /usr/bin/dpkg returned an error code (1)
当我运行命令时
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
【问题讨论】:
-
@Dalton Cézane 我解释了为什么它不重复
-
@botbotbotty,看起来您实际上是在请求
https://cli-assets.heroku.com/branches/stable/heroku-OS-ARCH.tar.gz。在接受的答案中对 Dalton 首次提出的问题的评论说,“将 OS 替换为“linux”、“darwin”、“windows”、“freebsd”、“openbsd”之一,以及“将 ARCH 替换为“ amd64”、“386”或“arm”。你这样做了吗? -
@botbotbotty,指的是你本地机器的架构。对于树莓派,我相信你想要
arm。 -
@DaltonCézane,可能,但这需要更多的近距离投票。如果没有发生这种情况,我希望在这里得到答案。并且可能与botbotbotty的情况略有不同;我很好奇他们提到的
sudo问题。
标签: heroku command-line-interface raspberry-pi3