Tag: 网络连接

apt.conf“获取:: http:代理”代理服务器:端口“似乎不被使用(Win7上的Virtual Box下的Ubuntu 13.04)

这是为了在VirtualBox VM中安装Ubuntu 13.04 Desktop。 我在xyz251:9090上使用HTTP代理的公司网络。 我已经使用自动配置脚本配置了客户操作系统,因此Firefox工作正常,但我无法使用代理连接“apt-get”或“Ubuntu Software Center”。 我创建了文件“/etc/apt/apt.conf”,它现在包含一行文本: Acquire::http:Proxy “http://xyz251:9090” 这是我在“系统设置/网络/网络代理”中指定并应用于整个系统的proxy.pac文件。 当我使用Firefox时,数据包跟踪显示TCP连接是通过端口9090上的公司代理完成的,当我运行“Ubuntu软件中心”和“apt-get”时,数据包跟踪显示TCP SYN数据包与最终目标IP地址和端口80.当然,对SYN数据包没有响应,因为公司防火墙阻止端口80上的TCP连接进入或退出。 在终端窗口中使用“sudo apt-get”,我总是看到: Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/main Translation-en_US Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/main Translation-en Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/restricted Translation-en_US Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – […]