Bug#1055046: Reconsider dependencies between a main/common package and theme subpackages
Package: debian-edu-artwork
Version: 2.12.3-1
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.
--
Guido Berhoerster
Reply to: