Hi Lucas, On Sat, Jul 12, 2025 at 09:08:28AM +0200, Lucas Nussbaum wrote: > While refreshing my sbuild setup, I failed to find documentation on how > to use an APT proxy together with unshare+mmdebstrap. > > Ideally there would be doc about: > - specifying an APT proxy by URL > - using auto-apt-proxy to auto-detect the proxy > > And it should be documented how to do that using command-line options, > and in .config/sbuild/config.pl
I think there is agreement that these common usecases should be documented in the manual pages, but it has not happened yet. For "APT proxy by URL", the config.pl fragment that currently gets advertised is: push @{$unshare_mmdebstrap_extra_args}, "*", ['--aptopt=Acquire::http { Proxy "http://127.0.0.1:3142"; }']; Hope this helps, Chris