APT does not support proxy auto-configuration, and never will, as this requires a JavaScript engine, which is not a good idea to run as root and depend on in a package with Priority: important.
But you should be able to write your own implementation by writing a script and set Acquire::http::ProxyAutoDetect to it. See squid-deb-proxy for an example script.
APT does not support proxy auto-configuration, and never will, as this requires a JavaScript engine, which is not a good idea to run as root and depend on in a package with Priority: important.
But you should be able to write your own implementation by writing a script and set Acquire: :http:: ProxyAutoDetect to it. See squid-deb-proxy for an example script.