[Manual intervention required] Package conflict between pipewire-media-session & wireplumber

Hey guys! :slight_smile:

Currently while updating, there is a package conflict going on between pipewire-media-session and wireplumber while updating which prevents finishing the update successfully as Pacman can’t handle this type of conflicts.

Wireplumber is a drop-in replacement for pipewire-media-session, which is going to be featured by Garuda from now on as Arch made it possible (thus being dependency of our pipewire-support meta package). While the replacement is seemless, this package conflict still needs to be solved prior to updating.

So, what does this mean for you?

Update! :blush:

  1. If you are on one of the newer version of Garuda Update: just run update as usual. The command will take care of everything by itself (namely, removing pipewire-media-session and updating afterwards)
  2. If you aren’t on one of the newer versions of Garuda Update: sudo pacman -Sy garuda-update && update (the same as before, just updating the script beforehand)
  3. If you prefer to do things manually: sudo pacman -Rdd pipewire-media-session && sudo pacman -Syu

Keep it rolling! :dragon: :fire:

34 Likes
warning: cannot resolve "pipewire-session-manager", a dependency of "pipewire-common-v4l2-git"
warning: cannot resolve "pipewire-v4l2", a dependency of "pipewire-support"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pipewire-support

:: Do you want to skip the above package for this upgrade? [y/N]
1 Like

you have -git package remove them and install normal ones

1 Like

I thought so but I don't actually have pipewire-common-v4l2-git installed, it's trying to pull it I guess as a new dependency of pipewire-support

Edit: SOLVED

  • Cloned pipewire-common-v4l2-git
  • Edited its PKGBUILD to depend on wireplumber instead of pipewire-session-manager (line 180 btw)
  • Built pipewire-common-v4l2-git
  • Reinstalled pipewire-support successfully

Still don't know if this is an edge case caused by some -git packages I didn't notice I had, but whatever, audio works now. If anyone else faces this do report

3 Likes

Try this:

sudo pacman -S pipewire-media-session

Then:

sudo pacman -Syu

This worked for me

1 Like

Used this without flaws here.

Here is a fix to an issue that's been happening.

sudo pacman -S pipewire-media-session

Then do:

sudo pacman -Syu

running update doesn't automaticly take care of this for me here is my output

 update
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
warning: garuda-update-1.2.4-1 is up to date -- skipping
 there is nothing to do
Refreshing mirrorlists..
[2021-10-25 14:40:40] WARNING: failed to rate http(s) download (https://mirror.theash.xyz/arch/community/os/x86_64/community.db): HTTP Error 403: Forbidden
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2021-10-25 18:40:40 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2021-10-25 18:40:05 UTC
# Last Check: 2021-10-25 18:36:35 UTC

Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.theash.xyz/arch/$repo/os/$arch
:: Synchronizing package databases...
 core                                                                                                                         138.8 KiB  1461 KiB/s 00:00 [-----------------------------------------------------------------------------------------------] 100%
 extra                                                                                                                       1572.2 KiB  9.54 MiB/s 00:00 [-----------------------------------------------------------------------------------------------] 100%
 community                                                                                                                      5.8 MiB  18.4 MiB/s 00:00 [-----------------------------------------------------------------------------------------------] 100%
 multilib                                                                                                                     150.9 KiB  1257 KiB/s 00:00 [-----------------------------------------------------------------------------------------------] 100%
 chaotic-aur                                                                                                                 1569.1 KiB  2.33 MiB/s 00:01 [-----------------------------------------------------------------------------------------------] 100%
Checking for keyring update before starting full system update..
warning: garuda-hotfixes-1.0.0-2 is up to date -- skipping
warning: archlinux-keyring-20210902-1 is up to date -- skipping
warning: chaotic-keyring-20210617-1 is up to date -- skipping
 there is nothing to do
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: wireplumber and pipewire-media-session are in conflict

Read first post carefully again, please.
Use 2. or 3.

yeah option 3 worked for me I was just reporting that using garuda update doesn't I tried installing the latest garuda update first with sudo pacman -Sy garuda-update && update and that game pretty much the same output

sudo pacman -Sy garuda-update && update
[sudo] password for zany130:
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                         5.8 MiB  26.5 MiB/s 00:00 [-------------------------------------------] 100%
 multilib is up to date
 chaotic-aur                                    1569.0 KiB  2.12 MiB/s 00:01 [-------------------------------------------] 100%
warning: garuda-update-1.2.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) garuda-update-1.2.4-1

Total Installed Size:  0.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                               [-------------------------------------------] 100%
(1/1) checking package integrity                                             [-------------------------------------------] 100%
(1/1) loading package files                                                  [-------------------------------------------] 100%
(1/1) checking for file conflicts                                            [-------------------------------------------] 100%
(1/1) checking available disk space                                          [-------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 432
:: Processing package changes...
(1/1) reinstalling garuda-update                                             [-------------------------------------------] 100%
:: Running post-transaction hooks...
( 1/10) Arming ConditionNeedsUpdate...
( 2/10) Refreshing PackageKit...
( 3/10) Foreign/AUR package notification
air-for-steam 2019_0917-1
android-bash-completion r43.c1b0656-1
android-sdk-build-tools r31-2
apk-preview 1.3.2-3
apk-thumbnailer 1.0-2
app-outlet-bin 1.3.4-4
archlinux-artwork 1.6-6
archlinux-themes-sddm 2.0-1
awesome-terminal-fonts-patched 1.0.0-2
base-devel-meta 2021.08.07-1
betterdiscord-installer 1.1.1-1
chiaki-git 2.1.1.r8.g796a128-1
cod 0.1.0-2
compleat-git r121.8cf2bcd-1
ddd-ftn 3.3.12-13
dolphin-megasync-bin 3.6.6-2
dotpac 0.4-4
dracula-gtk-theme v2.0-1
emojify 2.2.0-1
etcher-bin 1.6.0-1
findbrokenpkgs 1.1-1
flareget 5.0.0-2
fluent-cursor-theme-git 2021.10.07.r0.g6399706-1
fluent-decoration-git r33.5655249-1
fluent-icon-theme-git 2021.10.07.r0.g6399706-1
fluent-kde-theme-git r47.f1ac81e-1
font-victor-mono 1.4.2-1
fontconfig-emoji-git r15.3706c6c-1
fusesmb 0.8.7-4
fzf-extras 0.3.1-1
g810-led-lib 0.4.2-1
g930-battery-percentage-git r15.0b1e831-1
gamescope-session-git r14.a1a7a18-1
hastebin 1.4.0-1
i2c-tools-git r384.eacb6a4-1
imgcat 1.2.0-2
isl 0.24-2
kcm-colorful-git 1.0.5.r0.g411e8c9-1
kcm-grub2-git 0.6.4.r87.g024abc7-1
kcm-uefi 0.1-1
kde-thumbnailer-apk 1.1-1
kvantum-theme-adapta 20180828-1
kvantum-theme-arc 20180614-3
kvantum-theme-chromeos-git r35.a6c9349-1
kvantum-theme-fluent-git r17.890a450-1
kvantum-theme-sunset-dark-git r4.d21b6a1-1
kwin-effect-shapecorners-git r15.c7e6fe8-1
kwin-scripts-parachute 0.9.1-1
lib32-ncurses5-compat-libs 6.2-1
libdbusmenu-qt4 0.9.3+16.04.20160218-1
libffi6 3.2.1-1
libmagick6 6.9.12.25-3
libpng15 1.5.30-1
libsndio-61-compat 1.3.0-1
ludusavi 0.10.0-3
material-cursors-git 20210524-1
mono-basic 4.8-1
mons 0.8.2-1
mpd-discord-rpc-git v1.2.0.r13.gb58c98e-1
mpv-discordrpc 1.4.1-1
mymc 2.6-11
nano-syntax-highlighting-git 2020.10.10.r10.g1aa64a8-1
netcoredbg 1.2.0_786-1
noto-fonts-emoji-flags 20200120-1
nro-thumbnailer-git 0.0.2.r0.gdc57dfc-1
nx-udev 0.1.1-1
opencolorio1 1.1.1-3
organize 1.10.1-1
osl 0.9.2-2
pinta-git r1974.09147832-1
pkg2zip-fork 2.2-2
plasma5-applet-awesome-widgets 3.4.3-1
plasma5-wallpapers-wallpaper-engine-git r337.f504ea8-1
plasmoidviewer-debug 5.15.0-1
plymouth-kcm 5.23.1-1
pnputils-git 0.1.3.r56.g81e685a-1
polkit-qt4 0.112.0+git20180107-1
protondb-tags 1.1.1-1
pug-hook-git 20200107.e4bb973-1
python-exifread 2.3.2-1
python-simplematch 1.3-1
python-smbus-git r384.eacb6a4-1
remoteplaydetached-bin v0.4.1-1
retrosmart-kvantum-theme 1.0b-1
sddm-elegant-theme-git r34.732499b-1
semantik 1.2.7-1
speedtest++ 1.14.r68.1877803-1
sssm 1.2.1-1
steamtinkerlaunch-git 6.18.323.r493.5b18af2-1
strace-analyzer 0.3.1-1
sunset-dark-kde-git r4.d21b6a1-1
systemd-kcm 1.2.1-5
terminal_dimensions-git r2.8e34b6f-1
termpdf-git r151.651506e-1
ttf-twemoji-color 13.1.0-1
uget-integrator 1.0.0-2
uget-integrator-chromium 1.0.0-4
uget-integrator-firefox 1.0.0-4
unified-remote-server 3.10.0.2467-1
vim-dracula 2.0.0-4
virtio-win 0.1.208.1-1
vivaldi-widevine 1:4.10.2209.0-1
win11-gtk-theme-git r10.62225c3-1
win11-icon-theme-git r128.a148adf-1
xdotool-gui 1.2-2
xrasengan 1.0.0-5
zenmonitor 1.4.2-2
zsh-systemd-git r2.d9fea29-1
zsh-you-should-use 1.7.3-1
( 4/10) Orphaned package notification...
chrpath 0.16-3
extra-cmake-modules 5.87.0-1
ffmpeg3.4 3.4.9-1
ghostpcl 9.55.0-2
ghostxps 9.55.0-2
gtkmm 1:2.24.5-4
inkscape 1.1.1-2
jbigkit 2.1-5
opencolorio1 1.1.1-3
xorg-xcursorgen 1.0.7-2
yarn 1.22.17-1
( 5/10) Checking for .pacnew and .pacsave files...
( 6/10) Updating pkgfile database...
( 7/10) pug.hook
:: Processing gists update...
( 8/10) Checking which packages need to be rebuilt
( 9/10) Performing snapper post snapshots for the following configurations...
==> root: 433
(10/10) Syncing all file systems...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
warning: garuda-update-1.2.4-1 is up to date -- skipping
 there is nothing to do
Refreshing mirrorlists..
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2021-10-25 19:15:06 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2021-10-25 19:14:57 UTC
# Last Check: 2021-10-25 19:07:05 UTC

Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
:: Synchronizing package databases...
 core                                            138.8 KiB   313 KiB/s 00:00 [-------------------------------------------] 100%
 extra                                          1572.2 KiB  3.12 MiB/s 00:00 [-------------------------------------------] 100%
 community                                         5.8 MiB  9.34 MiB/s 00:01 [-------------------------------------------] 100%
 multilib                                        150.9 KiB   370 KiB/s 00:00 [-------------------------------------------] 100%
 chaotic-aur                                    1569.0 KiB  2.24 MiB/s 00:01 [-------------------------------------------] 100%
Checking for keyring update before starting full system update..
warning: garuda-hotfixes-1.0.0-2 is up to date -- skipping
warning: archlinux-keyring-20210902-1 is up to date -- skipping
warning: chaotic-keyring-20210617-1 is up to date -- skipping
 there is nothing to do
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: wireplumber and pipewire-media-session are in conflict

doing it manually worked ofc

 sudo pacman -Rdd pipewire-media-session && sudo pacman -Syu

Packages (1) pipewire-media-session-1:0.3.38-1

Total Removed Size:  0.40 MiB

:: Do you want to remove these packages? [Y/n] y
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 434
:: Processing package changes...
Removed /etc/systemd/user/pipewire-session-manager.service.
Removed /etc/systemd/user/pipewire.service.wants/pipewire-media-session.service.
(1/1) removing pipewire-media-session                                        [-------------------------------------------] 100%
:: Running post-transaction hooks...
(1/9) Arming ConditionNeedsUpdate...
(2/9) Refreshing PackageKit...
(3/9) Foreign/AUR package notification
air-for-steam 2019_0917-1
android-bash-completion r43.c1b0656-1
android-sdk-build-tools r31-2
apk-preview 1.3.2-3
apk-thumbnailer 1.0-2
app-outlet-bin 1.3.4-4
archlinux-artwork 1.6-6
archlinux-themes-sddm 2.0-1
awesome-terminal-fonts-patched 1.0.0-2
base-devel-meta 2021.08.07-1
betterdiscord-installer 1.1.1-1
chiaki-git 2.1.1.r8.g796a128-1
cod 0.1.0-2
compleat-git r121.8cf2bcd-1
ddd-ftn 3.3.12-13
dolphin-megasync-bin 3.6.6-2
dotpac 0.4-4
dracula-gtk-theme v2.0-1
emojify 2.2.0-1
etcher-bin 1.6.0-1
findbrokenpkgs 1.1-1
flareget 5.0.0-2
fluent-cursor-theme-git 2021.10.07.r0.g6399706-1
fluent-decoration-git r33.5655249-1
fluent-icon-theme-git 2021.10.07.r0.g6399706-1
fluent-kde-theme-git r47.f1ac81e-1
font-victor-mono 1.4.2-1
fontconfig-emoji-git r15.3706c6c-1
fusesmb 0.8.7-4
fzf-extras 0.3.1-1
g810-led-lib 0.4.2-1
g930-battery-percentage-git r15.0b1e831-1
gamescope-session-git r14.a1a7a18-1
hastebin 1.4.0-1
i2c-tools-git r384.eacb6a4-1
imgcat 1.2.0-2
isl 0.24-2
kcm-colorful-git 1.0.5.r0.g411e8c9-1
kcm-grub2-git 0.6.4.r87.g024abc7-1
kcm-uefi 0.1-1
kde-thumbnailer-apk 1.1-1
kvantum-theme-adapta 20180828-1
kvantum-theme-arc 20180614-3
kvantum-theme-chromeos-git r35.a6c9349-1
kvantum-theme-fluent-git r17.890a450-1
kvantum-theme-sunset-dark-git r4.d21b6a1-1
kwin-effect-shapecorners-git r15.c7e6fe8-1
kwin-scripts-parachute 0.9.1-1
lib32-ncurses5-compat-libs 6.2-1
libdbusmenu-qt4 0.9.3+16.04.20160218-1
libffi6 3.2.1-1
libmagick6 6.9.12.25-3
libpng15 1.5.30-1
libsndio-61-compat 1.3.0-1
ludusavi 0.10.0-3
material-cursors-git 20210524-1
mono-basic 4.8-1
mons 0.8.2-1
mpd-discord-rpc-git v1.2.0.r13.gb58c98e-1
mpv-discordrpc 1.4.1-1
mymc 2.6-11
nano-syntax-highlighting-git 2020.10.10.r10.g1aa64a8-1
netcoredbg 1.2.0_786-1
noto-fonts-emoji-flags 20200120-1
nro-thumbnailer-git 0.0.2.r0.gdc57dfc-1
nx-udev 0.1.1-1
opencolorio1 1.1.1-3
organize 1.10.1-1
osl 0.9.2-2
pinta-git r1974.09147832-1
pkg2zip-fork 2.2-2
plasma5-applet-awesome-widgets 3.4.3-1
plasma5-wallpapers-wallpaper-engine-git r337.f504ea8-1
plasmoidviewer-debug 5.15.0-1
plymouth-kcm 5.23.1-1
pnputils-git 0.1.3.r56.g81e685a-1
polkit-qt4 0.112.0+git20180107-1
protondb-tags 1.1.1-1
pug-hook-git 20200107.e4bb973-1
python-exifread 2.3.2-1
python-simplematch 1.3-1
python-smbus-git r384.eacb6a4-1
remoteplaydetached-bin v0.4.1-1
retrosmart-kvantum-theme 1.0b-1
sddm-elegant-theme-git r34.732499b-1
semantik 1.2.7-1
speedtest++ 1.14.r68.1877803-1
sssm 1.2.1-1
steamtinkerlaunch-git 6.18.323.r493.5b18af2-1
strace-analyzer 0.3.1-1
sunset-dark-kde-git r4.d21b6a1-1
systemd-kcm 1.2.1-5
terminal_dimensions-git r2.8e34b6f-1
termpdf-git r151.651506e-1
ttf-twemoji-color 13.1.0-1
uget-integrator 1.0.0-2
uget-integrator-chromium 1.0.0-4
uget-integrator-firefox 1.0.0-4
unified-remote-server 3.10.0.2467-1
vim-dracula 2.0.0-4
virtio-win 0.1.208.1-1
vivaldi-widevine 1:4.10.2209.0-1
win11-gtk-theme-git r10.62225c3-1
win11-icon-theme-git r128.a148adf-1
xdotool-gui 1.2-2
xrasengan 1.0.0-5
zenmonitor 1.4.2-2
zsh-systemd-git r2.d9fea29-1
zsh-you-should-use 1.7.3-1
(4/9) Orphaned package notification...
chrpath 0.16-3
extra-cmake-modules 5.87.0-1
ffmpeg3.4 3.4.9-1
ghostpcl 9.55.0-2
ghostxps 9.55.0-2
gtkmm 1:2.24.5-4
inkscape 1.1.1-2
jbigkit 2.1-5
opencolorio1 1.1.1-3
xorg-xcursorgen 1.0.7-2
yarn 1.22.17-1
(5/9) Checking for .pacnew and .pacsave files...
(6/9) Updating pkgfile database...
(7/9) pug.hook
:: Processing gists update...
(8/9) Performing snapper post snapshots for the following configurations...
==> root: 435
(9/9) Syncing all file systems...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (33) alsa-card-profiles-1:0.3.39-1  anbox-git-1:r1358.84f0268-2  android-tools-31.0.3-1  botan-2.18.2-1
              ceph-libs-15.2.14-2  exiv2-0.27.5-1  fish-autopair-1.0.3-2  gst-plugin-pipewire-1:0.3.39-1
              imagemagick-7.1.0.11-1  inxi-3.3.08.1-1  kwin-5.23.1-2  lib32-libsoup-2.74.1-1  lib32-mpg123-1.29.2-1
              lib32-pipewire-1:0.3.39-1  libsoup-2.74.1-1  libsoup3-3.0.2-1  lutris-git-0.5.9.1.r2.g5632d3b8-1
              lxc-git-4.0.0.r2102.g8dff29c6c-1  mpg123-1.29.2-1  omnisharp-roslyn-1.37.16-2  opencolorio-2.1.0-2
              pipewire-1:0.3.39-1  pipewire-alsa-1:0.3.39-1  pipewire-jack-1:0.3.39-1  pipewire-pulse-1:0.3.39-1
              pipewire-support-1-7  pipewire-v4l2-1:0.3.39-1  pipewire-zeroconf-1:0.3.39-1
              wine-tkg-staging-fsync-git-6.20.r0.g3fb6eb99-326  wireplumber-0.4.4-3  xemu-git-0.6.1.r24.g5ae39a321a-1
              yaml-cpp-0.7.0-2  yuzu-mainline-git-r19854.c0793f0cb-1

Total Download Size:   171.17 MiB
Total Installed Size:  814.34 MiB
Net Upgrade Size:       24.37 MiB

:: Proceed with installation? [Y/n]
1 Like

There's a few things going on here, but I think the main thing is that until wireplumber is installed and correctly provides for pipewire-media-session that it replaces, a bunch of other packages including kwin are going to want to hold on to the latter. That's why using -Rdd works, it ignores the broken dependencies

1 Like

Update only takes care of this if you have media session and pipewire-support installed. If you manual set up your pipewire or something it won't take care of the conflict.

1 Like

As I tried updating it by every method the same error accurse. All it did is uninstalling pipeware but I cant install Wireplumber

[🔴] × LANG=C sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community                                                                 5,8 MiB  10,1 MiB/s 00:01 [------------------------------------------------------------] 100%
multilib-testing is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for pipewire-session-manager:
:: Repository extra
1) pipewire-media-session  2) wireplumber

Enter a number (default=1): 2
warning: cannot resolve "libcap=2.60", a dependency of "lib32-libcap"
warning: cannot resolve "libcap=2.60", a dependency of "lib32-libcap"
:: The following package cannot be upgraded due to unresolvable dependencies:
lib32-libcap

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcap (2.59-1) breaks dependency 'libcap=2.58' required by lib32-libcap

That's a different error.

1 Like

What does it mean and how can I fix it? I tried looking it up but only something with community testing came up.

my system came with pulse as my original install was a few months ago. I installed pipewire support by using the option in the garuda assistant which I belive just does sudo pacman -S pipewire-support and removes some pulse stuff.

Thank you for that! I am new to Linux and love Garuda Linux, thanks for all you all do and keep up the great work!!

Typical, when the conflict appeared a couple days ago, I went for removing wireplumber.
-Rdd pipewire-media-session then installing wireplumber appears to have worked for me to switch.

Props on the quick announcement, though in an ideal world, would have announcement prior to conflict arising.

Oh i see... @librewish made a typo in the script >.>

3 Likes

All fixed now, sorry about that everyone!

2 Likes