Package: release.debian.org Severity: normal Tags: bookworm User: release.debian....@packages.debian.org Usertags: pu X-Debbugs-Cc: cloud-i...@packages.debian.org Control: affects -1 + src:cloud-init
In #1070137 we introduced a backport of cloud-init 22.4.2-1 to bullseye as a versioned package cloud-init-22.4.2. In order to support transitioning back to an unversioned package on bullseye->bookworm upgrades, we introduce Conflicts and Replaces relationships here to the bookworm package to replace the versioned backport. debdiff: $ debdiff cloud-init_22.4.2-1.dsc cloud-init_22.4.2-1+deb12u1.dsc 2> /dev/null diff -Nru cloud-init-22.4.2/debian/changelog cloud-init-22.4.2/debian/changelog --- cloud-init-22.4.2/debian/changelog 2022-12-13 12:35:18.000000000 -0800 +++ cloud-init-22.4.2/debian/changelog 2024-05-28 13:23:38.000000000 -0700 @@ -1,3 +1,9 @@ +cloud-init (22.4.2-1+deb12u1) bookworm; urgency=medium + + * Add Conflicts/Replaces relationship on cloud-init-22.4.2 + + -- Noah Meyerhans <no...@debian.org> Tue, 28 May 2024 13:23:38 -0700 + cloud-init (22.4.2-1) unstable; urgency=medium [ Bastian Blank ] diff -Nru cloud-init-22.4.2/debian/control cloud-init-22.4.2/debian/control --- cloud-init-22.4.2/debian/control 2022-12-13 08:46:47.000000000 -0800 +++ cloud-init-22.4.2/debian/control 2024-05-28 13:23:38.000000000 -0700 @@ -40,6 +40,8 @@ Package: cloud-init Architecture: all +Conflicts: cloud-init-22.4.2 +Replaces: cloud-init-22.4.2 Depends: eject, fdisk | util-linux (<< 2.29.2-3~), apt shows the package replacing the versioned package as expected: noahm@bullseye:~$ apt -s install cloud-init NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: btrfs-progs xfsprogs The following packages will be REMOVED: cloud-init-22.4.2 The following NEW packages will be installed: cloud-init 0 upgraded, 1 newly installed, 1 to remove and 308 not upgraded. Remv cloud-init-22.4.2 [22.4.2-2~bpo11+1] Inst cloud-init (22.4.2-1+deb12u1 noahm:people.debian.org [all]) Conf cloud-init (22.4.2-1+deb12u1 noahm:people.debian.org [all])