Control: tags -1 + wontfix Felicitus <[email protected]> writes: > I'm using a proxy configuration for my notebook: > > Acquire::http { Proxy "http://<ip>:3142"; }; > > However, when I switch locations (like from home to hackerspace or to work), I > need to uncomment/change that line depending on whatever location I'm at. > > It would be nice if this could be automated
My previous response mentions how to control this at the network interface level, which should be the most preferred option for static configurations as it is general and applicable to multiple applications. Additionally, there is also Acquire::http::ProxyAutoDetect to support e.g. zeroconf since 0.7.26~exp1. Marking this as wontfix. Dynamic configuration based on network location is quite a general issue, and there are adequate general solutions outside of apt. It is undesirable to implement an application-specific solution within apt. > - or that apt skips the proxy if it > is not reachable (I actually prefer the latter). No. The program will not be disregarding its own configuration. Regards -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

