You are not logged in.
I was looking for "pipewire-pulse" package at https://archlinux.org/packages/extra/x8 … ire-pulse/ and I see that, among the dependencies, there is
pipewire-session-manager (wireplumber, pipewire-media-session)Since wireplumber and pipewire-media-session are conflicting packages, when I install a package having "pipewire-pulse" as dependency, is there a way to force the installation of "wireplumber" sub-dependency instead of "pipewire-media-session" (that seems the one that pipewire-pulse installs by default) when I use the "--noconfirm" flag and without manually removing pipewire-media-session and installing wireplumber?
In general, if I use "--noconfirm", it will install the dependency at position 1) by default, that in this example is pipewire-media-session. What I would like is to force the installation of the other dependency or forcing it to be the default when I use "--noconfirm".
Last edited by D3vil0p3r (2023-06-18 21:29:13)
Offline
1. Don't use --noconfirm if you actually do want to be asked which option you want to confirm.
2. If this is a script, then feel free to use --noconfirm, but if it's in a script, just pre-install the option you want with --asdeps.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My case was a custom PKGBUILD where I have pipewire-pulse as dependency. I guess that if I put as additional dependency "wireplumber" it should recognize it and pipewire-pulse will be installed as dependency of this custom pkg by using wireplumber instead of pipewire-media-session... I guess... I should test it.
Offline
Yes, if you are installing one of the options that satisfies a dependency in the same transaction as the package that requires it, then pacman will not prompt you to select an option.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Perfect. Thank you for the clarification.
Offline