Package Details: debootstrap-git 1.0.114.r0.g67a3c1c-1

Git Clone URL: https://aur.archlinux.org/debootstrap-git.git (read-only, click to copy)
Package Base: debootstrap-git
Description: Bootstrap a basic Debian system
Upstream URL: https://tracker.debian.org/pkg/debootstrap
Keywords: debian debootstrap
Licenses: GPL
Conflicts: debootstrap
Provides: debootstrap
Submitter: arti
Maintainer: arti
Last Packager: arti
Votes: 0
Popularity: 0.000000
First Submitted: 2018-07-04 19:39 (UTC)
Last Updated: 2019-04-18 09:19 (UTC)

Dependencies (6)

Required by (17)

Sources (2)

Latest Comments

EdeWolf commented on 2023-08-16 08:53 (UTC)

That was it. Changing the include to --include=systemd-container,dbus made the install work. Thanks very much again.

arti commented on 2023-08-16 08:16 (UTC)

Aah yes, the --include that in first glance looks like really useful for adding more packages to the chroot. Problem is that include does not do dependence resolution and will not include dbus package that systemd-container needs. Fix is to include all dependencies in the --include args or install your packages after debootstrap is done with normal apt.

The latter is what I have been doing: https://gist.github.com/artizirk/174c029c813515c171af841c0dc17539#file-create_container-sh-L82-L111

EdeWolf commented on 2023-08-16 08:04 (UTC) (edited on 2023-08-16 08:07 (UTC) by EdeWolf)

Wow, that was fast. Thanks very much Here we go:

debootstrap --include=systemd-container --components=main bookworm bookworm https://deb.debian.org/debian

Where the second bookworm of course is the containername/directory that does preexist. Unpacking also works fine and the directory is being populated.

P.S:: The "dbus-system-bus" is a virtual package, that is probably just referring to dbus, according to:

https://packages.debian.org/bookworm/default-dbus-system-bus

So that may be the issue. Just guessing, however

arti commented on 2023-08-16 07:56 (UTC)

I think I have seen similar error before. @EdeWolf can you share your full debootstrap command?

EdeWolf commented on 2023-08-16 07:44 (UTC)

Not sure, wether this is not an upstream problem, but bootsrapping bookworm failes with an error:

dpkg: dependency problems prevent configuration of systemd-container: systemd-container depends on default-dbus-system-bus | dbus-system-bus; however: Package default-dbus-system-bus is not installed. Package dbus-system-bus is not installed.

Adding "bookworm" to line 51 in the debian-common file below the scripts directory does not change anything.

tomx3 commented on 2019-04-13 14:21 (UTC)

Please add git to make-dependencies.