Bug 1222195 - required library not installed when package is selected in yast software UI, here libjack0
Summary: required library not installed when package is selected in yast software UI, ...
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Leap 15.6
Hardware: x86-64 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 20:49 UTC by Olaf Hering
Modified: 2024-04-02 16:10 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
var-log-zypp-history.txt.xz (168.01 KB, application/x-xz)
2024-03-31 20:49 UTC, Olaf Hering
Details
raw.tar.zstd (19.55 MB, application/zstd)
2024-03-31 20:49 UTC, Olaf Hering
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Hering 2024-03-31 20:49:22 UTC
Created attachment 873955 [details]
var-log-zypp-history.txt.xz

A fresh install of todays Leap 15.6 status, likely RC1, with XFCE pattern.
In the installed system:
open yast
open software repos
add "packman" community repo
close software repos
open software selection
show repositories
select "packman"
select "switch system to this repo"
select also the "ffmpeg-6" package
install
continue

on terminal, run "ffmpeg -version"
fails with "libjack.so.0" not found.
workaround: zypper in libjack0, to install the missing library

See attached /var/log/zypp/history for the order of events.

It seems libavdevice60 lists the required "libjack.so.0" properly. So somehow yast and/or libzypp fails to recognize that libjack0.rpm is required.
Comment 1 Olaf Hering 2024-03-31 20:49:52 UTC
Created attachment 873956 [details]
raw.tar.zstd
Comment 2 Michael Andres 2024-04-02 16:08:18 UTC
Adding 15.6 and your packman repos on a 15.5, `zypper in --no-recommends ffmpeg-6` correctly adds `libjack0` (along with 103 others).

If I lock `libjack0` so it can not be installed and now try to install `ffmpeg-6`, it succeeds with 129 packages, `pipewire-libjack-0_3` among them.

Locking `pipewire-libjack-0_3` too, the (detailed) problem shows:
> Choose from above solutions by number or cancel [1/2/3/4/5/c/d/?] (c): d
> Problem: the to be installed ffmpeg-6-6.1.1-150600.5.pm.1.x86_64 
>   requires 'libavdevice.so.60()(64bit)', but this requirement cannot be provided
>   not installable providers: libavdevice60-6.1.1-150600.5.pm.1.x86_64[pkm]
> Detailed information: 
>   the to be installed ffmpeg-6-6.1.1-150600.5.pm.1.x86_64 
>     requires 'libavdevice.so.60()(64bit)', but this requirement cannot be provided
>   the to be installed libavdevice60-6.1.1-150600.5.pm.1.x86_64 
>     requires 'libjack.so.0()(64bit)', but this requirement cannot be provided
>  Solution 1: do not install ffmpeg-6-6.1.1-150600.5.pm.1.x86_64
>  Solution 2: remove lock to allow installation of pipewire-libjack-0_3-1.0.4-150600.1.1.x86_64[repo-oss]
>  Solution 3: remove lock to allow installation of libjack0-1.9.12-150000.3.3.1.x86_64[repo-oss]
>  Solution 4: remove lock to allow installation of pipewire-libjack-0_3-1.0.4-150600.2.pm.6.x86_64[pkm]
>  Solution 5: break ffmpeg-6-6.1.1-150600.5.pm.1.x86_64 by ignoring some of its dependencies

So 'libavdevice60' requires 'libjack.so.0()(64bit)'.

It's provided by libjack0 (SUSE), pipewire-libjack-0_3 (SUSE,packman).

AFAICS with YAST the packman pipewire-libjack-0_3 package was installed:
> 2024-03-31 19:12:03|install|pipewire-libjack-0_3|1.0.4-150600.2.pm.5|x86_64||ftp.gwdg.de-...


To me this looks like an issue of the libavdevice60 (-6.1.1-150600.5.pm.1.x86_64) and/or pipewire-libjack-0_3 (-1.0.4-150600.2.pm.6.x86_64) packages (both packman).

If it needs the SUSE libjack0 package, the packman packages don't fit together well.

From the zypp POV it behaved correctly.
Comment 3 Michael Andres 2024-04-02 16:10:59 UTC
# zypper se -v --provides "libjack.so.0"
> S  | Name                       | Type    | Version             | Arch   | Repository
> ---+----------------------------+---------+---------------------+--------+----------------
>  l | libjack0                   | package | 1.9.12-150000.3.3.1 | x86_64 | Main Repository
>     provides: libjack.so.0()(64bit)
>    | libjack0-32bit             | package | 1.9.12-150000.3.3.1 | x86_64 | Main Repository
>     provides: libjack.so.0
>  l | pipewire-libjack-0_3       | package | 1.0.4-150600.2.pm.6 | x86_64 | pkm
>     provides: libjack.so.0()(64bit)
>  l | pipewire-libjack-0_3       | package | 1.0.4-150600.1.1    | x86_64 | Main Repository
>     provides: libjack.so.0()(64bit)
>    | pipewire-libjack-0_3-32bit | package | 1.0.4-150600.1.1    | x86_64 | Main Repository
>     provides: libjack.so.0