I have pushed a fix for this to Ubuntu 22.10 as discussed in
https://launchpad.net/bugs/1977564
It uses a postrm script provided by Dyaln to purge the systemd user
services. (Done in both wireplumber & pipewire-media-session).

After he posted the patch, Michael proposed a more complex maintainer
script. Michael, do you think that version is still needed?

Also, I tried installing wireplumber on Ubuntu 22.04 LTS without the
fix. Although the install gives a warning and the symlinks are broken,
sound still works even with pulseaudio uninstalled. Could someone help
me understand the impact of this bug? I think I want to fix it for
Ubuntu 22.04 LTS but understanding the impact would help for that.

I thought it was interesting that apt removing other systemd services
also results in broken symlinks unless `apt purge` is used. For
instance, uninstall wpasupplicant and there is a broken symlink
/etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service
Things seem to work ok like this, but is this the behavior we want?

Thank you,
Jeremy Bicha

Reply via email to