[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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)



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: