Pipewire-jack and jack2 are in conflict (jack)

Should I remove jack2 ?

$ LANG=C sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: pipewire-jack and jack2 are in conflict (jack). Remove jack2? [y/N] 

I believe pipewire-jack is an alternative implementation of jack so you either need to remove jack2 or pipewire-jack.

If you don’t know which is better for your situation, I would recommend “Y”

1 Like

I don’t know which is better so I will follow your recommendation, thanks Dalto

That’s odd.
pipewire-jack & co. got updated on my end, like 11 days ago:

[2022-01-07T11:09:40+0100] [ALPM] upgraded pipewire (1:0.3.42-2 -> 1:0.3.43-1)
[2022-01-07T11:09:40+0100] [ALPM] upgraded gst-plugin-pipewire (1:0.3.42-2 -> 1:0.3.43-1)
[2022-01-07T11:09:47+0100] [ALPM] upgraded pipewire-alsa (1:0.3.42-2 -> 1:0.3.43-1)
[2022-01-07T11:09:47+0100] [ALPM] upgraded pipewire-jack (1:0.3.42-2 -> 1:0.3.43-1)
[2022-01-07T11:09:47+0100] [ALPM] upgraded pipewire-pulse (1:0.3.42-2 -> 1:0.3.43-1)

I still got jack2 installed. If it’s a newer version of pipewire-jack, then it hasn’t hit my mirrors yet.

That is the case:

Repository      : extra
Name            : pipewire-jack
Version         : 1:0.3.43-5
Description     : Low-latency audio/video router and processor - JACK support
Architecture    : x86_64
URL             : https://pipewire.org
Licenses        : MIT  GPL2
Groups          : None
Provides        : jack  libjack.so=0-64  libjackserver.so=0-64  libjacknet.so=0-64
Depends On      : pipewire-session-manager  libpipewire-0.3.so=0-64
Optional Deps   : jack-example-tools: for official JACK example-clients and tools
Conflicts With  : jack  jack2
Replaces        : None
Download Size   : 146.74 KiB
Installed Size  : 669.89 KiB
Packager        : David Runge <dvzrv@archlinux.org>
Build Date      : Mon 17 Jan 2022 11:29:49 AM CST
Validated By    : MD5 Sum  SHA-256 Sum  Signature
3 Likes

Noob question here. I had the same issue and I tried to remove jack2 manually with pacman (didn’t get automatic y/N option), but it didn’t work:

sudo pacman -R jack2
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing jack2 breaks dependency 'libjack.so=0-64' required by aubio
:: removing jack2 breaks dependency 'jack' required by ffmpeg
:: removing jack2 breaks dependency 'jack' required by ffmpeg-compat-57
:: removing jack2 breaks dependency 'libjack.so=0-64' required by fluidsynth
:: removing jack2 breaks dependency 'libjack.so=0-64' required by gst-plugins-good
:: removing jack2 breaks dependency 'jack' required by mpv
:: removing jack2 breaks dependency 'libjack.so=0-64' required by mpv
:: removing jack2 breaks dependency 'libjack.so=0-64' required by portaudio

What should I do? Just wait for mirrors update?

You need to get pipewire-jack updated which would replace jack2 and therefore avoids breaking the dependencies.
Could you post the output of

sudo pacman -Syu

?

You can’t remove it that way. You have to let the upgrade replace it.

1 Like
sudo pacman -Syu
[sudo] password for netlex: 
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community                 6.0 MiB  7.41 MiB/s 00:01 [----------------------------] 100%
 multilib is up to date
 endeavouros is up to date
 chaotic-aur            1734.6 KiB  1980 KiB/s 00:01 [----------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jack2 and pipewire-jack are in conflict

Do you have something that explicitly requires jack2?

I don’t think so.

You can always look and find out. Then you’d know for sure. . .

Not sure what was done here but I just did this and it looked like this:

[elloquin@Elloquin-EndeavouOS-i3 ~]$ yay
[sudo] password for elloquin: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                                                                                                   6.0 MiB  7.13 MiB/s 00:01 [--------------------------------------------------------------------------------------------------------] 100%
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: pipewire-jack and jack2 are in conflict (jack). Remove jack2? [y/N] y

Package (7)                Old Version  New Version  Net Change  Download Size

extra/alsa-card-profiles   1:0.3.43-1   1:0.3.43-5     0.00 MiB       0.03 MiB
extra/gst-plugin-pipewire  1:0.3.43-1   1:0.3.43-5     0.00 MiB       0.04 MiB
jack2                      1.9.20-3                   -1.89 MiB               
extra/pipewire             1:0.3.43-1   1:0.3.43-5     0.00 MiB       1.54 MiB
extra/pipewire-alsa        1:0.3.43-1   1:0.3.43-5     0.00 MiB       0.00 MiB
extra/pipewire-jack        1:0.3.43-1   1:0.3.43-5     0.18 MiB       0.14 MiB
extra/pipewire-pulse       1:0.3.43-1   1:0.3.43-5     0.00 MiB       0.15 MiB

Total Download Size:    1.91 MiB
Total Installed Size:   8.92 MiB
Net Upgrade Size:      -1.71 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 gst-plugin-pipewire-1:0.3.43-5-x86_64                                                                                                      45.9 KiB   155 KiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 alsa-card-profiles-1:0.3.43-5-x86_64                                                                                                       27.2 KiB  80.2 KiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 pipewire-pulse-1:0.3.43-5-x86_64                                                                                                          153.5 KiB   375 KiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 pipewire-jack-1:0.3.43-5-x86_64                                                                                                           146.7 KiB   358 KiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 pipewire-1:0.3.43-5-x86_64                                                                                                               1578.8 KiB  3.21 MiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 pipewire-alsa-1:0.3.43-5-x86_64                                                                                                             4.7 KiB  85.6 KiB/s 00:00 [--------------------------------------------------------------------------------------------------------] 100%
 Total (6/6)                                                                                                                              1956.9 KiB  3.24 MiB/s 00:01 [--------------------------------------------------------------------------------------------------------] 100%
(6/6) checking keys in keyring                                                                                                                                         [--------------------------------------------------------------------------------------------------------] 100%
(6/6) checking package integrity                                                                                                                                       [--------------------------------------------------------------------------------------------------------] 100%
(6/6) loading package files                                                                                                                                            [--------------------------------------------------------------------------------------------------------] 100%
(6/6) checking for file conflicts                                                                                                                                      [--------------------------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) removing jack2                                                                                                                                                   [--------------------------------------------------------------------------------------------------------] 100%
(1/6) upgrading alsa-card-profiles                                                                                                                                     [--------------------------------------------------------------------------------------------------------] 100%
(2/6) upgrading pipewire                                                                                                                                               [--------------------------------------------------------------------------------------------------------] 100%
(3/6) upgrading gst-plugin-pipewire                                                                                                                                    [--------------------------------------------------------------------------------------------------------] 100%
(4/6) upgrading pipewire-alsa                                                                                                                                          [--------------------------------------------------------------------------------------------------------] 100%
(5/6) upgrading pipewire-jack                                                                                                                                          [--------------------------------------------------------------------------------------------------------] 100%
New optional dependencies for pipewire-jack
    jack-example-tools: for official JACK example-clients and tools
(6/6) upgrading pipewire-pulse                                                                                                                                         [--------------------------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Checking which packages need to be rebuilt
:: Searching databases for updates...
:: Searching AUR for updates...
 there is nothing to do
[elloquin@Elloquin-EndeavouOS-i3 ~]$ 
1 Like

:face_with_hand_over_mouth:

3 Likes

I don’t know how to do this. Only command that come to my mind is ldd, but this isn’t it. I will be grateful if someone could give me some instructions how to find out whether something else needs jack2.

I know chaotic-aur isn’t the best practice, but aside from potential security risks it shouldn’t be a problem (or am I wrong?).

Run pactree -r jack2 to see what depends on it.

pactree comes from pacman-contrib if you don’t have it, install it.

1 Like

Thanks. Result looks like this:

jack2
├─aubio
├─ffmpeg
│ ├─aubio
│ ├─chromaprint
│ │ ├─grilo-plugins
│ │ │ └─gnome-photos
│ │ └─gst-plugins-bad
│ │   ├─grilo-plugins
│ │   └─totem
│ ├─electron13
│ │ └─caprine
│ ├─ffmpegthumbnailer
│ ├─firefox
│ ├─gst-libav
│ │ └─faudio
│ │   ├─lib32-faudio
│ │   │ └─wine
│ │   │   └─winetricks
│ │   └─wine
│ ├─mpv
│ │ ├─ani-cli-git
│ │ └─celluloid
│ └─telegram-desktop
├─ffmpeg-compat-57
├─fluidsynth
│ └─gst-plugins-bad
├─gst-plugins-good
│ ├─gst-plugins-bad
│ └─totem
├─mpv
└─portaudio
  └─fluidsynth

What does pacman -Si ffmpeg-compat-57 show?

chaotic-aur can create dependency issues that wouldn’t normally be issues because prebuilt packages need hard dependencies.

That won’t differentiate jack dependencies from jack2 dependencies. Although, that may not be the issue here, it was just a question.

EDIT: I triple-posted and had to moderate myself :rofl:

2 Likes

What does pacman -Si ffmpeg-compat-57` show?

Something like that:

Repository      : chaotic-aur
Name            : ffmpeg-compat-57
Version         : 3.4.8-3
Description     : Compatibility package for ffmpeg to provide versions 57 of libavcodec,
                  libavdevice and libavformat, not anymore provided by the ffmpeg
                  package
Architecture    : x86_64
URL             : http://ffmpeg.org/
Licenses        : GPL
Groups          : None
Provides        : libavcodec.so=57  libavdevice.so=57  libavfilter.so=6
                  libavformat.so=57  libavresample.so=3  libavutil.so=55
                  libpostproc.so=54  libswresample.so=2  libswscale.so=4
Depends On      : alsa-lib  bzip2  fontconfig  fribidi  glibc  gmp  gnutls  gsm  jack
                  lame  libavc1394  libiec61883  libmodplug  libpulse  libraw1394
                  libsoxr  libssh  libtheora  libvdpau  libwebp  libx11  libxcb
                  libxml2  opencore-amr  openjpeg  opus  sdl2  speex  v4l-utils  xz
                  zlib  libxv  libomxil-bellagio  libass.so=9-64  libbluray.so=2-64
                  libfreetype.so=6-64  libva-drm.so=2-64  libva.so=2-64
                  libva-x11.so=2-64  libvidstab.so=1.1-64  libvorbisenc.so=2-64
                  libvorbis.so=0-64  libvpx  libx264  libx265.so=199-64
                  libxvidcore.so=4-64
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 8.24 MiB
Installed Size  : 18.93 MiB
Packager        : Chaotic-AUR Wild Bear Node <wildbear.node@chaotic.cx>
Build Date      : Sat 23 Oct 2021 16:49:53 CEST
Validated By    : MD5 Sum  SHA-256 Sum  Signature