[Pkg-utopia-maintainers] Bug#997818: Bug#997818: Bug#997818: wireplumber: Failed to preset unit, file /etc/systemd/user/pipewire-session-manager.service already exists

Michael Biebl biebl at debian.org
Fri Jun 10 12:07:36 BST 2022


Am 10.06.22 um 11:00 schrieb Raphael Hertzog:

> To me it looks like that the symlinks created for the "alias" entries
> should be removed when you remove the package if they point to the
> alternative provided by the current package

I think this would break the
apt install foo; apt remove foo; apt install foo
case, as then you wouldn't have the symlink setup anymore.

It might be better to do this cleanup in the postinst of wireplumber 
before the  #DEBHELPER# stanza.
If it finds a dangling symlink which does *not* point to its own 
service, then remove this dangling symlink before #DEBHELPER#, i.e. 
before the dh_installsystemd bits.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20220610/6347d69c/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list