I recently switched to Ubuntu 15.10.
I need to use a proxy to connect to external internet.And on my local internet there's a repo that doesn't require proxy to connect.
So I wrote something like this in /etc/apt/apt.conf.d/proxy
Acquire::http::Proxy::google.com "http://XXX:8087"; Acquire::http::Proxy::spotify.com "http://XXX:8087";
Unfortunately,this doesn't work, apt-get update says failed to connect google spotify. I also tried change it to this.
I can connect to google and spotify now, but I can't connect to my local repo. Isn't there a better workaround?