Bug#642159: debian-installer preseed broken with apt-cacher-ng mirror
This debian-installer bug is perhaps more serious than might seem from
the original bug report. It affects preseed/run and preseed/include. Not
clear how to adapt the work-around from the original bug report.
The bug also affects fetching in preseed/late_command, as well as
subsequent attempts to re-fetch the original preseed file (which comes
up if you have priority=low or some other installer error to bring up
the installer menu, and as you proceed through the steps it will direct
you to the preseed fetch menu option). Particularly confusing is that
Ctrl-Alt-F4 shows a wget 403 error yet tcpdump on port 80 on the preseed
server shows no activity, and furthermore if you go into BusyBox in the
installer and do a manual wget there is no error.
I can't determine a work-around, which might for example be to tell
apt-cacher-ng to serve up (and not cache) local files, but no luck so
far. I considered replacing apt-cacher-ng with two copies of approx (one
for debian, one for ubuntu), but approx seems to be a more apt specific
cache that won't serve up arbitrary local files.
Consequently I avoid fetching additional preseed files entirely, with a
growing "one-liner" script in preseed/late_command. It seems that much
of the additional power of preseeding is unavailable right now, in the
context of an apt proxy cache, until this debian-installer bug can be
addressed.
Reply to: