【问题标题】:Ubuntu : Check that PPA name or format is correctUbuntu:检查 PPA 名称或格式是否正确
【发布时间】:2016-02-02 09:13:22
【问题描述】:

我正在使用 Ubuntu 14.04 并尝试安装以太坊区块链,如下文所述: https://ethereum.gitbooks.io/frontier-guide/content/installing_linux.html

在执行命令“sudo add-apt-repository -y ppa:ethereum/ethereum”时,出现以下异常:

无法添加 PPA:'ppa/ethereum/ethereum' 请检查 PPA 名称或格式是否正确。

我针对这个问题进行了研究,人们提出了以下解决方案:

  1. Please check that the PPA name or format is correct
  2. https://askubuntu.com/questions/429803/cannot-add-ppa-please-check-that-the-ppa-name-or-format-is-correct

我已尝试更新 ca 证书并检查了我系统的日期/时间。 我仍然无法运行 ppa 命令。

任何指导都会有很大帮助。

问候 阿努杰

【问题讨论】:

    标签: ubuntu ethereum


    【解决方案1】:

    命令是否需要一些时间才能返回,您是否有任何机会在代理后面(我最近遇到了这个问题)?

    如果是这样,请按照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)。

    【讨论】:

      猜你喜欢
      • 2019-01-18
      • 1970-01-01
      • 2018-01-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-06
      相关资源
      最近更新 更多