On Sun, Sep 12, 2021 at 03:10:27AM +0000, Paul Wise wrote: > On Fri, Sep 10, 2021 at 6:03 PM David Kalnischkies wrote: > > Because this thread started with the idea to switch the default of d-i > > and co to another URI. If you target only apt then you still need > > a solution for d-i and a way to convert whatever d-i had into what apt > > gets in the end (of the installation). > > ISTR the future of creating new Debian installations is to move from > debootstrap to dpkg/apt. As an interim step, debootstrap could move > from doing its own downloads to passing the appropriate > APT_CONFIG/DPKG_ROOT/etc to `apt download`. > > https://wiki.debian.org/Teams/Dpkg/Spec/InstallBootstrap
The spec deals with the installation of the essential set. APT isn't essential – it is 'only' one of the first packages installed after the bootstrap is done, usually at least. Moving {,c}debootstrap to use apt means you increase the system requirements from "can execute debootstrap" all the way up to "is a fully bootstrapped Debian-based system". At which point you could just use mmdebstrap instead of debootstrap and be done. I am not involved with d-i to know if they would plan such a move, but I have at least never heard of it and it seems outside the linked spec. You might have confused this with the pipe-dream of obsoleting mmdebstrap at some far away in the future point by folding it into apt directly. The spec is one (of the many) pre-requirements for that. Even if we do, that would move the goal post only slightly as you still have the problem that the conf used to create the system might very well not be the conf that can be used by the created system (as a trivial example some old apt versions do not support https). That doesn't really change regardless of using anna, debootstrap, apt or whatever else. Best regards David Kalnischkies P.S.: Having apt be involved in its own bootstrap reminds me of that time when I saved myself from drowning in a swamp by pulling on my hair… https://en.wikipedia.org/wiki/Baron_Munchausen#Fictional_character
signature.asc
Description: PGP signature