Ubuntu – Ubuntu 11.10 Software Center (proxy?)

PROXYsoftware-center

I am unable to install software using the Software Center at work. A nearly identical install of 11.10 at home works fine. I suspect the proxy settings are the problem, as they are used at work, but not at home. The system at work does browse the web and respond appropriately to nslookup's.

Best Answer

Create or edit /etc/apt/apt.conf defining your proxy configuration_

Acquire::http::Proxy "http://username:password@proxy_name_or_ip:port/";
Acquire::https::Proxy "https://username:password@proxy_name_or_ip:port/";
Acquire::ftp::Proxy "ftp://username:password@proxy_name_or_ip:port/";

You could ignore the username and password if you make no use of they, and you could ignore https or ftp in the same way.

This is based on a comment in a ticket reporting this issue.