Hello,
Maybe you can ask the people developing and maintaining the package and report back. Some of them are very experienced developers. Also, I suspect they would appreciate any input in the form of patches if needed.If debootstrap does not quite suit your needs, there are other tools available.
For example, you can use other programs such as:
Hope this helps. Please let me know.
note: you might consider updated the subject of the first topic to make it more informative for other readers; i.e: "[Solved][Software] Bug of debootstrap installing virtual packages ?"
--
[1] Debian Wiki - multistrap
[2] multistrap manpage
I'm glad it was helpful.Thanks !
It would be interesting to understand why debootstrap does not seem to handle virtual packages, as this program is very much used both in Debian and in Ubuntu. I suspect it is not a coincidence.So it's indeed a bug of deboostrap https://bugs.debian.org/cgi-bin/bugrepo ... bug=878961 , the report dates from 2017 , the team of debootstrap doesn't seem to care ...
https://packages.debian.org/trixie/debootstrap
https://tracker.debian.org/pkg/debootstrap
Maybe you can ask the people developing and maintaining the package and report back. Some of them are very experienced developers. Also, I suspect they would appreciate any input in the form of patches if needed.
You can use the following command to find a package that provides virtual package; below the example for the two virtual packages dbus-system-bus and logind for the log of your first post:ChatGPT helped me find the 2 additional packages 8)
Code:
$ apt-cache showpkg logind | awk '/Pa/, /Reverse P/ {next} {print $1 | "sort"}'libpam-elogindlibpam-systemd$ apt-cache showpkg dbus-system-bus | awk '/Pa/, /Reverse P/ {next} {print $1 | "sort"}'dbusdbus-broker
For example, you can use other programs such as:
- multistrap [1]: you can create a configuration file (e.g. named "config-simple") with your requirements according to syntax reported in [2] and in example file in /usr/share/doc/multistrap; this is an example:then you can run the following command (note: in the simple-config file all repository components are listed with the components keyword, since you are installing packages that are not only from "main"):
Code:
[General]unpack=truebootstrap=Debianaptsources=Debian[Debian]packages=linux-image-amd64,firmware-linux,network-manager,systemd-timesyncd,systemd-ukify,systemd-bootsource=http://deb.debian.org/debiankeyring=debian-archive-keyringsuite=testingcomponents=main contrib non-free-firmware non-free
Code:
# multistrap -d /mnt/o -f config-simple
Hope this helps. Please let me know.
note: you might consider updated the subject of the first topic to make it more informative for other readers; i.e: "[Solved][Software] Bug of debootstrap installing virtual packages ?"
--
[1] Debian Wiki - multistrap
[2] multistrap manpage
Statistics: Posted by Aki — 2024-10-02 21:20