【发布时间】:2014-03-02 10:02:20
【问题描述】:
我正在尝试在我的 Ubuntu 系统上安装 Go,但面临安装步骤陈旧和损坏的问题。我尝试使用 apt-get 但收到以下错误:
$ sudo apt-get install golang
404 Not Found [IP: 91.189.91.13 80]
404 Not Found [IP: 91.189.92.200 80]
404 Not Found [IP: 91.189.92.200 80]
Get:5 http://archive.ubuntu.com/ubuntu/ quantal/universe golang-go amd64 2:1.0.2-2 [17.3 MB]
Fetched 24.9 MB in 2min 47s (149 kB/s)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl-modules_5.14.2- 13ubuntu0.2_all.deb 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.14.2-13ubuntu0.2_amd64.deb 404 Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
我也尝试通过 GVM 安装,得到以下错误:
scripts/gvm-installer) < <(curl -s https://raw.github.com/moovweb/gvm/master/bin
-bash: curl: 找不到命令
我对 Go 语言还很陌生。请帮助我:如何安装 Go?
【问题讨论】: