我正在使用Ubuntu 14.04并尝试安装以太坊区块链,如下文所述:https://ethereum.gitbooks.io/frontier-guide/content/installing_linux.html
在执行命令"sudo add-apt-repository -y ppa:ethereum/ethereum"时,我收到以下异常:
无法添加 PPA:"PPA/以太坊/以太坊"请检查 PPA 名称或格式是否正确。
我研究了这个问题,人们提出了以下解决方案:
- 请检查 PPA 名称或格式是否正确
- https://askubuntu.com/questions/429803/cannot-add-ppa-please-check-that-the-ppa-name-or-format-is-correct
我尝试更新ca证书,并检查了系统的日期/时间。我仍然无法运行 ppa 命令。
任何指导都会有很大帮助。
问候阿努吉
命令返回是否需要一些时间,您是否有机会在代理后面(我最近遇到了这个问题)?
如果是这样,请按照 https://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy 中所述配置代理。然后,使用 sudo -E add-apt-repository -y ppa:ethereum/ethereum 执行命令。请注意,-E 很重要,因为它传递环境变量。还有其他选项(env-keep),如上面的链接所述。