Hello,
As far I can verify, it seems debootstrap cannot install packages that depend on virtual packages [1][2][3].
In your previous post, the difference between the two commands is that the second one succeeds because it also includes (with --include) the following packages:If you verify with apt:Hope this helps.
--
[1] Debian Bug report logs - #878961 debootstrap fails to resolve dependencies on virtual packages
[2] Debian Bug report logs - #827602 libdirectfb-dev depends on libpng but fails to install it when installing libdirectfb-dev
[3] Debian Bug report logs - #931760 doesn't pull perl-openssl-defaults in debootstrap
As far I can verify, it seems debootstrap cannot install packages that depend on virtual packages [1][2][3].
In your previous post, the difference between the two commands is that the second one succeeds because it also includes (with --include) the following packages:
- dbus
- libpam-systemd
- dbus-system-bus
- default-dbus-system-bus
- default-logind
Code:
dpkg: error processing package polkitd (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: network-manager polkitddpkg: dependency problems prevent configuration of network-manager: network-manager 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.dpkg: error processing package network-manager (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of polkitd: polkitd 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. polkitd depends on default-logind | logind; however: Package default-logind is not installed. Package logind is not installed.
Code:
$ apt show default-dbus-system-busPackage: default-dbus-system-busState: not a real package (virtual)Notice: Can't select candidate version from package default-dbus-system-bus as it has no candidateNotice: Can't select versions from package 'default-dbus-system-bus' as it is purely virtualNotice: No packages found$ apt show dbus-system-busPackage: dbus-system-busState: not a real package (virtual)Notice: Can't select candidate version from package dbus-system-bus as it has no candidateNotice: Can't select versions from package 'dbus-system-bus' as it is purely virtualNotice: No packages found$ apt show default-logindPackage: default-logindState: not a real package (virtual)Notice: Can't select candidate version from package default-logind as it has no candidateNotice: Can't select versions from package 'default-logind' as it is purely virtualNotice: No packages found
--
[1] Debian Bug report logs - #878961 debootstrap fails to resolve dependencies on virtual packages
[2] Debian Bug report logs - #827602 libdirectfb-dev depends on libpng but fails to install it when installing libdirectfb-dev
[3] Debian Bug report logs - #931760 doesn't pull perl-openssl-defaults in debootstrap
Statistics: Posted by Aki — 2024-10-01 22:03 — Replies 1 — Views 118