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

Guido Berhoerster <[email protected]>
Newsgroups gmane.linux.skolelinux.devel
Message-ID <f6fba2e5-d321-459e-bb9e-5f15af115886__46828.704238736$1698648702$gmane$org@berhoerster.name>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.