【问题标题】:Homebrew package install returns 403 error from downloads.sf.netHomebrew 软件包安装从 downloads.sf.net 返回 403 错误
【发布时间】:2014-03-14 21:09:32
【问题描述】:

解决方案:尽管我脑海中出现了危险信号,但我还是按照一些说明设置了远程 git 存储库:

git config --global user.name "..."
git config --global user.email "..."
git config --global credential.helper oskeychain

我打开了 git 配置文件:

git config --global --edit

并删除了违规条目。工作正常!


我在 OS X 10.9.2 上使用 Homebrew 0.9.5 我收到以下错误:

[01:33:37 29] $ brew install gfortran r
==> Downloading https://downloads.sf.net/project/machomebrew/Bot
######################################################################## 100.0%
curl: (22) The requested URL returned error: 403 LoginPagePost
Error: Failed to download resource "gfortran"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/gfortran-4.8.2.mavericks.bottle.1.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.8.2/gcc-4.8.2
######################################################################## 100.0%
curl: (22) The requested URL returned error: 403 LoginPagePost
Trying a mirror...
==> Downloading http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.t
######################################################################## 100.0%
curl: (22) The requested URL returned error: 403 LoginPagePost
Error: Failed to download resource "gfortran"
Download failed: http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2

【问题讨论】:

  • 找到了解决办法,但自己要等8个小时才能回答。

标签: macos git homebrew


【解决方案1】:

解决方案:尽管我脑海中出现了危险信号,但我还是按照一些说明设置了远程 git 存储库:

git config --global user.name "..."
git config --global user.email "..."
git config --global credential.helper oskeychain

我打开了 git 配置文件:

git config --global --edit

并删除了违规条目。工作正常!

【讨论】:

    猜你喜欢
    • 2017-04-26
    • 2019-06-13
    • 2018-04-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-14
    • 2020-04-12
    相关资源
    最近更新 更多