Package: mmdebstrap
Version: 1.5.7+deb13u1
Severity: normal
According to mmdebstrap-autopkgtest-build-qemu(1):
By default, if you have an apt proxy configured on the host, the
virtual machine will automatically use this, otherwise there is no
default.
I suppose this is modeled after how autopkgtest-build-qemu does it.
However, this auto-detection currently fails.
Looking at autopkgtest-build-qemu, it looks as if the user does not
explicitly use --apt-proxy, then the utility does the extra step of
checking Acquire::http::Proxy and Acquire::http::Proxy-Auto-Detect to
get that automatic proxy use. I think this is the part missing in the
mmdebstrap version.
A simple way to test this is to install (on the host) auto-apt-proxy and
eg: apt-cacher-ng. A bare call of
$ sudo autopkgtest-build-qemu
will generate an image where the guest can use the host's cache via an
/etc/apt/apt.conf.d/01proxy
in the guest.
Best,
Christian