Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

General Questions • Re: [Solved][Software] Bug of debootstrap ?

$
0
0
Hello,
Thanks !
I'm glad it was helpful.
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
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.

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.
ChatGPT helped me find the 2 additional packages 8)
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:

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
If debootstrap does not quite suit your needs, there are other tools available.

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:

    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
    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:

    # multistrap -d /mnt/o -f config-simple
Be aware that if you use debootstrap, cdebbootstrap or multistrap, the installation of some packages that require a specific hardware environment (e.g. a disk with ESP partition) will not complete some configuration step.

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



Viewing all articles
Browse latest Browse all 2901

Trending Articles