Ubuntu – Is apt-get always using proxy, although no proxy is configured

aptPROXY

I'm trying to disable the proxy for apt-get but it seems like apt-get gets it's proxy configuration from somewhere else other than /etc/apt/apt.conf, because although the apt.conf file is empty (and the system proxy set to None) it's still trying to connect to the proxy.

Anyone got an idea?

Best Answer

I'm using a script to replace different configuration files in order to easily switch between proxy and non-proxy environements. The problem was that I replaced the proxy apt.conf file with an empty apt.conf file, which apt then ignored.

After writing Acquire::http::Proxy "false"; into the apt.conf it worked without proxy :)

Related Question