Package: cloud-init
Version: 23.2.1-1
Severity: normal

Hi,

as of v21.4-2, Debian's cloud-init has a hard dependency on
isc-dhcp-client, while the isc-dhcp suite has been deprecated by the
ISC (also see e.g.
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#deprecated-components).

This makes integration/usage of cloud-init with e.g. dhcpcd
impossible:

| # apt install cloud-init dhcpcd
| Reading package lists... Done
| Building dependency tree... Done
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
|  dhcpcd-base : Conflicts: dhcp-client
|  E: Unable to correct problems, you have held broken packages.

Quoting from
https://github.com/canonical/cloud-init/releases/tag/23.3,
cloud-init doesn't seem to strictly depend on isc-dhcp-client any
longer though:

| network: support busybox micro DHCP client (udhcpc) alternative to
| deprecated isc-dhcp-client.

So while one can install udhcpc next to isc-dhcp-client in
Debian (because they don't conflict with each other), it's
not yet possible to use Debian with cloud-init, without having
also isc-dhcp-client on the system.

Please consider adapting the Depends for the new cloud-init version
in Debian accordingly, so one can use e.g. cloud-init with udhcpc
(which also allows co-installation next to dhcpcd), but without
having to also have isc-dhcp-client present.

-mika-

Reply via email to