[zypp-devel] enforce install from same src.rpm
If a given package is provided by more than one repo, and if that package has subpackages, then it can easily happen that one of the subpackages comes from repoA while another one comes from repoB. That happens because the rpm dependencies are satisfied via SONAME for example. But each package might be configured and built differently, and if the subpackages link and/or communicate with each other the ABI may differ. In practice this happens with the ffmpeg and gstreamer packages from Leap/Tumbleweed and Packman/VideoLan. The result is a misbehaviour at runtime. The easy and obvious way is a 'zypper dup --from <repo>' to resolve that. No code changes needed for that. But I wonder if libzypp has enough info from the repository data to enforce that each subpackage comes from the same vendor:src.rpm. Olaf
On Thursday 09 February 2017 12:26:03 Olaf Hering wrote:
If a given package is provided by more than one repo, and if that package has subpackages, then it can easily happen that one of the subpackages comes from repoA while another one comes from repoB. That happens because the rpm dependencies are satisfied via SONAME for example. But each package might be configured and built differently, and if the subpackages link and/or communicate with each other the ABI may differ.
In practice this happens with the ffmpeg and gstreamer packages from Leap/Tumbleweed and Packman/VideoLan. The result is a misbehaviour at runtime.
The easy and obvious way is a 'zypper dup --from <repo>' to resolve that. No code changes needed for that. But I wonder if libzypp has enough info from the repository data to enforce that each subpackage comes from the same vendor:src.rpm.
The information is available, but the decision is made in the resolver. Forwarding this to Michael, maybe he likes to turn this into a feature for libsolv. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX GmbH, Development, ma@suse.com Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 74 053-0 +------------------------------------------------------------------+ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (2)
-
Michael Andres
-
Olaf Hering