Bug 20221

Summary: "urpmi --debug lib64ossp_uuid-devel" shows conflicts with lib64uuid-devel and then wants to install a lot of i586 packages
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11, pkg-bugs
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: ossp_uuid-1.6.2-16.mga6, util-linux-2.28.2-1.mga6 CVE:
Status comment:
Attachments: The compressed log of urpmi --debug

Description Shlomi Fish 2017-01-31 22:33:13 CET
Description of problem:

"urpmi --debug lib64ossp_uuid-devel" on x86-64 mga6 (as root) wants to install a lot of i586 packages. I have lib64uuid-devel-2.28.2-1.mga6 and other -devel pacakges installed. I'm going to attach the compressed (xz) log of the operation

Version-Release number of selected component (if applicable):

Mageia v6

How reproducible:

Always.
Comment 1 Shlomi Fish 2017-01-31 22:33:55 CET
Created attachment 8916 [details]
The compressed log of urpmi --debug
Comment 2 Marja Van Waes 2017-02-01 15:59:37 CET
Your logs shows conflicts, starting with those:


installed package lib64uuid-devel-2.28.2-1.mga6.x86_64 is conflicting with lib64ossp_uuid-devel-1.6.2-16.mga6.x86_64 (Conflicts: libuuid-devel)
set_rejected: lib64uuid-devel-2.28.2-1.mga6.x86_64
installed package lib64uuid-devel-2.28.2-1.mga6.x86_64 is conflicting with lib64ossp_uuid-devel-1.6.2-16.mga6.x86_64 (Conflicts: ossp_uuid-devel)
chosen lib64ossp_uuid16-1.6.2-16.mga6.x86_64 for lib64ossp_uuid16[== 1.6.2]

I think installing the 32bit packages was the only way to workaround the conflicts.


Trying to install with dnf gives the same conflicts: 

  - package lib64ossp_uuid-devel-1.6.2-16.mga6.x86_64 conflicts with libuuid-devel provided by lib64uuid-devel-2.28.2-1.mga6.x86_64
  - package lib64uuid-devel-2.28.2-1.mga6.x86_64 conflicts with ossp_uuid-devel provided by lib64ossp_uuid-devel-1.6.2-16.mga6.x86_64

So urpmi isn't the culprit.

Maybe this is as it should be, though?

In the util-linux spec there's:

%package -n     %{lib_uuid_devel}
Summary:        Universally unique ID library
Group:          Development/C
License:        BSD
Conflicts:      %{lib_ext2fs} < 1.41.8-2
Requires:       %{lib_uuid} = %{version}
Provides:       libuuid-devel = %{version}-%{release}
Provides:       uuid-devel = %{version}-%{release}
Conflicts:      ossp_uuid-devel

And in the ossp_uuid spec file there's:

%package        -n     %{develname}
Summary:        Header files for the ossp-uuid library
Group:          Development/C
Requires:       %{libname} = %{version}
Provides:       %{name}-devel = %{version}-%{release}
Conflicts:      libuuid-devel

So isn't this report just invalid?

CC'ing all packagers collectively, in case I miss something.

CC: (none) => marja11, pkg-bugs
Summary: "urpmi --debug lib64ossp_uuid-devel" on x86-64 mga6 wants to install a lot of i586 packages => "urpmi --debug lib64ossp_uuid-devel" shows conflicts with lib64uuid-devel and then wants to install a lot of i586 packages
Source RPM: urpmi-8.106-1.mga6.src.rpm => ossp_uuid-1.6.2-16.mga6, util-linux-2.28.2-1.mga6

Comment 3 Rémi Verschelde 2017-02-01 16:08:13 CET
Well the issue is likely between the Conflicts and the virtual Provides.

It's a bug that to resolve a wanted conflict rpm will pull half of the distro in 32-bit packages. It should instead propose to replace the conflicting package.

Assignee: bugsquad => pkg-bugs