Apt-get提供HTTP 403

我已经被允许访问一个没有人使用的服务器……我之前说过,我们是一个没有SA的研究组,所以我们盲目地pipe理服务器自己…通常我们打破他们或做一些愚蠢的事情。

所以到最新的问题…

每当我尝试安装一个软件包,像ruby(sudo apt-get install ruby​​)这样的标准的东西开始加载。 但最终我得到一个错误,说存储库,或源目标不会让我访问目录(给403)。

任何人都可以告诉我如何redirect到一个可访问的存储库。 有问题的存储库实际上应该是可访问的。

理想情况下,我会撒谎,如果有人可以指向我有一个工作回购的源文件。 我们一直使用来自爱尔兰的HEANET作为我们的安装目录,总是在其他机器上工作!

我相信我们在Ubuntu上,源文件本身似乎也在谈论Debian软件包。 我刚刚添加了尝试安装的输出。 我alreayd运行apt-get更新,这也引发了各种403错误。

Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ruby1.8 Suggested packages: ri ruby-dev ruby1.8-examples ri1.8 The following NEW packages will be installed: ruby ruby1.8 0 upgraded, 2 newly installed, 0 to remove and 28 not upgraded. Need to get 54.1 kB of archives. After this operation, 295 kB of additional disk space will be used. Do you want to continue [Y/n]? Y WARNING: The following packages cannot be authenticated! ruby1.8 ruby Install these packages without verification [y/N]? Y Err http://ie.archive.ubuntu.com/ubuntu/ natty/main ruby1.8 amd64 1.8.7.302-2 403 Forbidden [IP: 136.206.1.20 8080] Err http://ie.archive.ubuntu.com/ubuntu/ natty/main ruby all 4.5 403 Forbidden [IP: 136.206.1.20 8080] Failed to fetch http://ie.archive.ubuntu.com/ubuntu/pool/main/r/ruby1.8/ruby1.8_1.8.7.302-2_amd64.deb 403 Forbidden [IP: 136.206.1.20 8080] Failed to fetch http://ie.archive.ubuntu.com/ubuntu/pool/main/r/ruby-defaults/ruby_4.5_all.deb 403 Forbidden [IP: 136.206.1.20 8080] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

您的(透明)代理136.206.1.20阻止您的请求。 查看那里的日志,重新configuration它,禁用它,或者将/etc/apt/apt.conf的行更改为在其他计算机上工作的值。

/etc/apt/apt.conf

 Acquire::http::proxy "http://proxy-ip:proxy-port";