Bug 30799

Summary: Conflicts while updating fwupd
Product: Mageia Reporter: Nicolas Lécureuil <mageia>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: critical    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=31858
Whiteboard:
Source RPM: fwupd-1.8.3-1.mga9 fwupd-1.5.5-1.mga8 CVE:
Status comment:

Description Nicolas Lécureuil 2022-09-02 00:49:13 CEST
# LC_ALL=C urpmi fwupd
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  fwupd                          1.8.3        1.mga9        x86_64  
  fwupd-efi                      1.3          1.mga9        x86_64  (recommended)
  fwupd-plugin-uefi-capsule-data 1.8.3        1.mga9        x86_64  (recommended)
  lib64cbor0                     0.7.0        1.mga9        x86_64  
3.2MB of additional disk space will be used.
4.1MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) y


installing fwupd-efi-1.3-1.mga9.x86_64.rpm fwupd-plugin-uefi-capsule-data-1.8.3-1.mga9.x86_64.rpm lib64cbor0-0.7.0-1.mga9.x86_64.rpm fwupd-1.8.3-1.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #########################################################################################################################################################################################################
Installation failed:    file /usr/lib64/libfwupd.so.2.0.0 from install of fwupd-1.8.3-1.mga9.x86_64 conflicts with file from package lib64fwupd0-1.5.5-1.mga8.x86_64
Comment 1 Marja Van Waes 2022-09-02 13:45:56 CEST
Can't reproduce it, but that's undoubtedly because I don't have old lib64fwupd0-1.5.5-1.mga8 installed. Its current version is 1.8.3-1.mga9

Anyway, assigning to the registered fwupd maintainer.

CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud
Source RPM: (none) => fwupd-1.8.3-1.mga9 fwupd-1.5.5-1.mga9

Marja Van Waes 2022-09-02 13:46:20 CEST

Source RPM: fwupd-1.8.3-1.mga9 fwupd-1.5.5-1.mga9 => fwupd-1.8.3-1.mga9 fwupd-1.5.5-1.mga8

Comment 2 Jani Välimaa 2022-09-03 15:03:50 CEST
Besides the conflict there're also packaging bugs. The pkg isn't correctly libified since a long time.

Lib pkg majored with 0 contains multiple libs with different lib majors:
libfwupd.so.2
libfwupdplugin.so.7

All libs lives in the main pkg at the same time with the lib pkg.

$ urpmf -f libfwupd.so.2$ --uniq
lib64fwupd0-1.8.3-1.mga9.x86_64:/usr/lib64/libfwupd.so.2
fwupd-1.8.3-1.mga9.x86_64:/usr/lib64/libfwupd.so.2

$ urpmf -f libfwupdplugin.so.7$ --uniq
lib64fwupd0-1.8.3-1.mga9.x86_64:/usr/lib64/libfwupdplugin.so.7
fwupd-1.8.3-1.mga9.x86_64:/usr/lib64/libfwupdplugin.so.7
Lewis Smith 2023-05-02 21:40:56 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=31858