On 10/28/2017 11:31 AM, Julian Andres Klode wrote: > On Fri, Oct 27, 2017 at 11:24:51PM +0200, Philipp Kern wrote: >> The other half of the point is that sid is symlinked to various suites, >> so when we fix debootstrap we'd have a script divergence for the coming >> release. > It would make most sense to just download the rest of the packages first > and see if apt provides apt-transport-https (or check if apt-transport-https > exists) and only download if it doesn't (or if it exists). Phew. I suppose that'd mean touching the pkgdetails API (which is implemented in both perl in debootstrap and in C in debian-installer's base-installer) and add a new command that allows to obtain the Provides for a given package. And then use that to include an additional package in the package list if HTTPS is used - the mirror is set up through setup_etc in first_stage_install and we can't really access the metadata in a different way there. This should probably wait for Thomas Lange's speed-up patches to be merged as well. Kind regards Philipp Kern
Attachment:
signature.asc
Description: OpenPGP digital signature