[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:12:21 BST 2022
Am 10.06.22 um 13:07 schrieb Michael Biebl:
>
> 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.
See also the related discussion in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741496
We have a similar issue for syslog.service and display-manager.service,
which are both a "shared" symlink between different alternatives.
-------------- 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/d631695c/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list