You are not logged in.
I'm currently using pipewire-media-session for my Pipewire media session and want to switch to wireplumber. However, removing pipewire-media-session will remove 24 other packages, most of which are core desktop environment packages (e.g. gnome-shell, accountservice, etc), and I have no idea what Gnome will do if I remove them while its running. Is there some other way I can swap out pipewire-media-session without having to practically break my desktop environment in the process?
Offline
You can control what to remove with pacman.
Offline
You can just install wireplumber, which should result in a logical conflict prompting you to replace one with the other. Otherwise use -Rdd temporarily to remove pipewire-media-session so you can drop wireplumber in it's place.
Offline
What V1del said.
Generally pactree is a good tool to see dependencies more clearly
To change the installation reason for a package between dependency and explicit use one of these:
# pacman -D --asdeps package_name
# pacman -D --asexplicit package_nameThe packages you want to keep must be explicitly installed, otherwise they'll be removed when all packages that depend on them are removed.
Offline