> With that, if the earlier stages have already prompted the user for a > proxy and the user did not enter anything because she doesn't need > one...then she will be prompted again for a proxy. In short, netboot > and businesscard installs are likely to prompt twice for a proxy. > > A better fix would be: > > if URI is http and http_proxy is empty and mirror/http/proxy has not > been seen ; then > input for proxy > fi
Erm, Actually, the reason it doesn't ask twice is because your slash addition patch is broken. In my testing if I do not entry a value for a proxy, using unstable base-config, I get a apt.conf with this in it: Acquire::http::Proxy "/"; Once that is fixed, I imagine it will indeed start prompting for a proxy twice. Checking the seen flag won't work, we need to unset the seen flag to allow apt-setup to prompt for a proxy when re-run. Probably a new environment variable can be used. -- see shy jo
signature.asc
Description: Digital signature