#1055046 Reconsider dependencies between a main/common package and theme subpackages

#1055046#5
Date:
2023-10-30 06:49:04 UTC
From:
To:
Initially the debian-edu-artwork package provided for each Debian
release a separate script to update the default release theme to the
Debian Edu variant.  Since these scripts were almost identical, they
were consolidated into a single script update-debian-edu-artwork
provided by the debian-edu-artwork package and symlinks to it were
shipped by each subpackage.

This was however problematic since update-debian-edu-artwork script is
invoked in the prerm scripts of the subpackages and the
debian-edu-artwork has a dependency on any of its subpackage whereas the
subpackages recommend debian-edu-artwork.  On removal debian-edu-artwork
will thus be removed before its subpackages causing their prerem script
and thus removal of corresponding theme to fail (#1054338).

For bookworm this was solved by copying the script into each subpackage,
however for trixie we should reconsider the dependencies, i.e. use a
common approach where the current debian-edu-artwork is renamed to
debian-edu-artwork-common and each subpackage provides a virtual package
debian-edu-artwork and depends on debian-edu-artwork-common.

#1055046#8
Date:
2026-08-22 14:01:57 UTC
From:
To:
Hello,

Bug #1055046 in debian-edu-artwork reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-edu/debian-edu-artwork/-/commit/db5a0938095d14c8f52135fd3d56e2a94531b815
The main aim is to not ship a copy of the update-debian-edu-artwork
script with each theme package, and instead place it in the main package
only. Originally this approach was abandoned, because it caused
bug #1054338:

This patch modifies the binary packages and their dependencies so that:
- debian-edu-artwork is renamed to debian-edu-artwork-common, and it
  contains the script,
- debian-edu-artwork-$THEME packages pre-depend on
  debian-edu-artwork-common to always have the script available,
- debian-edu-artwork-$THEME packages provide debian-edu-artwork.

Suggested-by: Guido Berhoerster <guido@berhoerster.name>
Closes: #1055046
------------------------------------------------------------------------

(this message was generated automatically)