Homebrew包安装返回403错误

时间:2014-03-14 21:09:33

标签: macos git homebrew


解决方案:我已经按照一些指示建立了一个远程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

1 个答案:

答案 0 :(得分:0)

解决方案:我已经按照一些指示建立了一个远程git存储库,尽管脑子里出现了红旗:

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

我打开了git配置文件:

git config --global --edit

并删除了有问题的条目。工作正常!