Control: block -1 by 726597
On Wed, 16 Oct 2013 22:40:07 -0300 Lisandro Damián Nicanor Pérez Meyer wrote: > On Wednesday 16 October 2013 23:40:30 Francesco Poli wrote: [...] > > Mmmmh, to be frank, I am a bit hesitant about implementing support for > > an undocumented APT configuration option... > > Maybe we should first wait for this option to be (stabilized and) > > properly documented: please file a bug report against package apt to > > request the addition of a suitable section to the apt.conf(5) man page, > > if you feel like it. > > Totally understandable. I'm filling the bug, CCing this one. Saddly > considering the number of open bugs apt has... :-/ Thanks, I see it's bug #726597: I am therefore setting it as a blocking bug for this one. Let's wait for some clarity on how the ProxyAutoDetect option is supposed to work: then I will be able to think about a possible support in apt-listbugs. [...] > > This means that apt-listbugs could use the acng proxy, if it knew about > > the ProxyAutoDetect option. > > But also that apt-listbugs may well use the main proxy, just like your > > web browsers have to do. > > Is this correct? > > Correct. Good. By the way, if I understand correctly, the /usr/share/squid-deb-proxy-client/apt-avahi-discover command detects the appropriate acng proxy and prints something like http://acng.example.com:3142/ to its stdout. Does this command require root privileges or can you just run it as a regular user and get the correct output? > > > Please note that you can set the Acquire::HTTP::Proxy::bugs.debian.org > > option in order to specify a proxy to be used by apt-listbugs. > > Is that enough to solve your issue? > > If I understand correctly, you have to manually set the main proxy for > > web browsers anyway: how is that different from setting it manually for > > apt-listbugs? > > Are you just trying to reduce the number of manual settings for a box > > that switches from a network to another with different proxies? > > Once again: correct. The good side of squid-deb-proxy-client is that it > enables the autodetection of acng. For web browsers things are almost as > easy: > I use KDE and set the proxy globally, and ask web browsers to use the > system's > settings. So all I need to do if a few clicks every time a laptop changes > networks. I can understand... I hope KDE writes this setting to an easy-to-read place. If this is the case, then, while waiting for a more elegant solution, you could prepare a trivial script that reads the proxy from there and sets the http_proxy environment variable. Oh well, the script should be sourced, rather than executed, in order to set an environment variable that can actually survive after the script exits... Maybe a shell function (to be placed into your the shell initialization file) would be better: it would become a ready-to-use command to update the http_proxy variable... This could be useful for other programs too, such as wget or some textual web browser, I think. I hope this helps a bit... -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpt3at8S13I3.pgp
Description: PGP signature

