Bug#333294: [Pbuilder-maint] Bug#333294: should try to get a default
mirror location from local sources.list file
Junichi Uekawa
dancer at netfort.gr.jp
Tue Oct 11 16:32:32 UTC 2005
Hi,
> it seems that pbuilder tries to get the basedebs from some hardcoded FTP
> mirror URL, http://ftp.jp.debian.org/debian. This is maybe fine for the
> maintainer, but not for us in the outside world. In fact, it should try
> to get the mirror URL from the local sources.list file and only fall
> back on the hardcoded value if that does not work (and announce what it
> does, LODLY). Otherwise, it can suck hundreds of megabytes from external
> mirrors though the user most likely does not want to do that because the
> outside traffic costs money while a local mirror may be available and
> known in the apt configuration on the host system.
Your observations are mostly correct.
What's lacking is a reliable method to select a resonable FTP mirror
from apt information alone; which is not always available.
One idea would be to give a useless default value as to force
the user to configure; another would be to obtain apt configuration.
To my eyes it looks like it's impossible to satisfy everyone's
needs: thus the default is this value.
regards,
junichi
More information about the Pbuilder-maint
mailing list