Bug#935334: closed by Lyndon Brown <jnqnfe@gmail.com> (Re: Re: debootstrap: man page says that --include will add package to download and extract list, but an experiment shows opposite)
- To: 935334@bugs.debian.org
- Subject: Bug#935334: closed by Lyndon Brown <jnqnfe@gmail.com> (Re: Re: debootstrap: man page says that --include will add package to download and extract list, but an experiment shows opposite)
- From: Askar Safin <safinaskar@mail.ru>
- Date: Mon, 06 Sep 2021 02:18:48 +0300
- Message-id: <[🔎] 1630883928.762820924@f129.i.mail.ru>
- Reply-to: Askar Safin <safinaskar@mail.ru>, 935334@bugs.debian.org
- In-reply-to: <handler.935334.D935334.16305406839835.notifdone@bugs.debian.org>
- References: <d6632e77779b87d5fdd491c678df8c8fd17eabc0.camel@gmail.com> <handler.935334.D935334.16305406839835.notifdone@bugs.debian.org> <156641203994.25314.8507904909645700764.reportbug@comp>
control: reopen 935334
Hi, Lyndon Brown. It seems you don't understand what I mean, please, re-read bug report.
First of all, note on terminology, specially on word "extracting". I will use output of "debootstrap" tool itself as source of terminology. Look here, this is output of debootstrap: https://paste.debian.net/1210574/ . As you can see, debootstrap output uses word "extracting" in one very specific sense: "extracting" means extracting using "dpkg-deb" or "ar" at very early stage of debootstrap. Other actions have different names, for example, "unpacking". So, word "extract" means "extract using dpkg-deb or ar", this is different from "unpack using dpkg --unpack". So, I will use word "extract" in this sense.
Next. We know that --foreign causes early stopping of debootstrap. This stopping happens AFTER extracting stage (I use here word "extracting" in sense introduced above).
Next. Man page says: "--include=alpha,beta Comma separated list of packages which will be added to download and extract lists".
So, --include=aptitude should add aptitude to extract list, i. e. aptitude should be extracted at extract stage. --foreign runs extract stage, so --foreign should extract aptitude. But it doesn't. So man page (or debootstrap output or debootstrap itself) is wrong.
So, we anyway have a bug either in debootstrap implementation or in terminology used in its output or in manual page. I think we should fix the latter.
==
Askar Safin
http://safinaskar.com
https://sr.ht/~safinaskar
https://github.com/safinaskar
Reply to: