簡體   English   中英

Homebrew 包安裝從 downloads.sf.net 返回 403 錯誤

[英]Homebrew package install returns 403 error from downloads.sf.net


解決方案:盡管我的腦海中出現了危險信號,但我還是按照一些說明來設置遠程 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

解決方案:盡管我的腦海中出現了危險信號,但我還是按照一些說明來設置遠程 git 存儲庫:

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

我打開了 git 配置文件:

git config --global --edit

並刪除了違規條目。 工作正常!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM