For the command
sudo apt-get update
I get following error:
W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages.gz
407 Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
I am running Ubuntu 10.10 installed on Windows XP using VirtualBox. For Internet connections I am using proxy server with an authentication. I tried to use gnome-network-proxy tool to set proxy settings system-wide.
After that /etc/environment has been updated by http_proxy variable with the format http://my_proxy:port/, there were no authentication data.
I checked this with Firefox. Browser asked my for login and password and everything was working fine. It was unfortunately not the case for apt-get. I have also tried to do as described here. Unfortunately it does not work.
May it be somehow related to the fact that a proxy is in a Windows domain, any ideas?
My proxy name is http-proxy. Is '-' a special character here?
本文详细介绍了如何解决Ubuntu系统中使用apt-get命令时遇到的代理配置问题,特别是当用户处于需要通过代理服务器访问互联网的企业网络环境中。文章提供了多种方法来设置代理,包括修改apt配置文件、使用特定工具如cntlm等。






