Bug 31858

Summary: M8->M9 Plasma upgrade attempt in VirtualBox fails, because of conflict between fwupd & fwupdx64-efi
Product: Mageia Reporter: Thomas Andrews <andrewsfarm>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: lewyssmith
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=30799
Whiteboard:
Source RPM: CVE:
Status comment:

Description Thomas Andrews 2023-05-02 02:10:13 CEST
Description of problem:

In an attempt to check if Bug 31586 (Isodumper-qt upgrade) has been resolved, I attempted an upgrade of a Vbox mga8 Plasma guest. I used the April 19 test Beta2 CI iso, with supplemental media added in an attempt to better simulate what using the next round of Beta2 isos might do. The install took two passes, first failing with a "script failure" concerning several "php-pear" packages. The second pass completed successfully, and I booted to a working desktop. Isodumper-qt works OK, but going after updates...

The following 139 packages are going to be installed:

- akregator-handbook-22.12.3-2.mga9.noarch
- allegro4-4.4.3.1-7.mga9.x86_64
- apache-mod_dav-2.4.57-3.mga9.x86_64
- apache-mod_userdir-2.4.57-3.mga9.x86_64
- avahi-0.8-10.mga9.x86_64
- bind-utils-9.18.14-1.mga9.x86_64
- boomaga-3.0.0-5.mga9.x86_64
- brotli-1.0.9-5.mga9.x86_64
- daq-modules-2.0.7-2.mga9.x86_64
- enblend-4.2-11.mga9.x86_64
- filezilla-3.64.0-1.mga9.x86_64
- flac-1.4.2-1.mga9.x86_64
- flute-1.3.0-11.mga9.noarch
- fwupd-1.8.9-2.mga9.x86_64
- fwupd-efi-1.3-1.mga9.x86_64
- fwupd-plugin-flashrom-1.8.9-2.mga9.x86_64
- fwupd-plugin-modem-manager-1.8.9-2.mga9.x86_64
- fwupd-plugin-uefi-capsule-data-1.8.9-2.mga9.x86_64
- geoip-1.6.12-6.mga9.x86_64
- gimp-data-extras-2.0.2-14.mga9.noarch
- glmark2-2023.01-1.20230119.mga9.x86_64
- gnome-desktop-44.0-1.mga9.x86_64
- gnome-software-44.1-1.mga9.x86_64
- gstreamer1.0-dv-1.22.0-1.mga9.x86_64
- gstreamer1.0-speex-1.22.0-1.mga9.x86_64
- gstreamer1.0-twolame-1.22.0-1.mga9.x86_64
- gstreamer1.0-vaapi-1.22.0-1.mga9.x86_64
- gstreamer1.0-wavpack-1.22.0-1.mga9.x86_64
- gvfs-1.50.4-1.mga9.x86_64
- gvfs-mtp-1.50.4-1.mga9.x86_64
- java-11-openjdk-11.0.18.0.10-1.mga9.x86_64
- java-11-openjdk-headless-11.0.18.0.10-1.mga9.x86_64
- kguiaddons-5.105.0-1.mga9.x86_64
- lame-3.100-8.mga9.x86_64
- lib64adwaita1_0-1.3.2-1.mga9.x86_64
- lib64auparse0-3.0.9-2.mga9.x86_64
- lib64avahi-core7-0.8-10.mga9.x86_64
- lib64bind9.18.14-9.18.14-1.mga9.x86_64
- lib64black-hole-solver1-1.12.0-1.mga9.x86_64
- lib64c-client0-2007f-17.mga9.x86_64
- lib64cbor0-0.8.0-3.mga9.x86_64
- lib64daq2-2.0.7-2.mga9.x86_64
- lib64dca0-0.0.7-3.mga9.tainted.x86_64
- lib64dmx1-1.1.4-4.mga9.x86_64
- lib64dotconf0-1.3-9.mga9.x86_64
- lib64dvdcss2-1.4.3-2.mga9.tainted.x86_64
- lib64faad2-2.10.0-2.mga9.tainted.x86_64
- lib64filezilla36-0.42.2-1.mga9.x86_64
- lib64fwupd2-1.8.9-2.mga9.x86_64
- lib64gcab1.0_0-1.5-1.mga9.x86_64
- lib64gck1_0-3.41.1-1.mga9.x86_64
- lib64gcr-base3_1-3.41.1-1.mga9.x86_64
- lib64glew2.2-2.2.0-5.mga9.x86_64
- lib64gnome-desktop3_20-44.0-1.mga9.x86_64
- lib64gnustep-base1.28-1.28.0-2.mga9.x86_64
- lib64gstcodecparsers1.0_0-1.22.0-3.mga9.tainted.x86_64
- lib64jcat1-0.1.12-1.mga9.x86_64
- lib64jemalloc2-5.3.0-1.mga9.x86_64
- lib64jsoncpp24-1.9.4-4.mga9.x86_64
- lib64keccak1-1.2-3.mga9.x86_64
- lib64ldap2.4_2-2.4.59-5.mga9.x86_64
- lib64leveldb1-1.23-1.mga9.x86_64
- lib64mcrypt4-2.5.8-24.mga9.x86_64
- lib64mesaglesv2_2-23.0.3-2.mga9.x86_64
- lib64netfilter_queue1-1.0.5-2.mga9.x86_64
- lib64pano13_3-2.9.21-2.mga9.tainted.x86_64
- lib64qt5pas1-2.6.lazarus2.2.0-1.mga9.x86_64
- lib64qt5webkit5-5.212.0-1.alpha4.14.mga9.x86_64
- lib64qt5webkitwidgets5-5.212.0-1.alpha4.14.mga9.x86_64
- lib64SDL_image1.2_0-1.2.12-16.mga9.x86_64
- lib64SDL_ttf2.0_0-2.0.11-12.mga9.x86_64
- lib64shp2-1.5.0-4.mga9.x86_64
- lib64signon-glib2-2.1-7.mga9.x86_64
- lib64smbios2-2.4.3-3.mga9.x86_64
- lib64telepathy-logger-qt5_5-17.09.0-3.mga9.x86_64
- lib64telepathy-qt5-service1-0.9.8-4.mga9.x86_64
- lib64telepathy-qt5_0-0.9.8-4.mga9.x86_64
- lib64vigra11-1.11.1-32.mga9.x86_64
- lib64vlc5-3.0.18-5.mga9.tainted.x86_64
- lib64vlccore9-3.0.18-5.mga9.tainted.x86_64
- lib64wlocate0-1.1-0.git20130127.12.mga9.x86_64
- lib64wx_baseu_net3.0_0-3.0.5.1-6.mga9.x86_64
- libadwaita-1.3.2-1.mga9.x86_64
- libfilezilla-i18n-0.42.2-1.mga9.noarch
- libfonts-1.1.6-15.mga9.noarch
- libformula-1.1.6-13.mga9.noarch
- liblayout-0.2.10-13.mga9.noarch
- libobjc4-12.2.1-0.20230428.1.mga9.x86_64
- libpano13-tools-2.9.21-2.mga9.tainted.x86_64
- librepository-1.1.6-16.mga9.noarch
- netprofile-plugin-proxy-0.28-11.mga9.noarch
- netprofile-plugin-services-0.28-11.mga9.noarch
- netprofile-plugin-urpmi-0.28-11.mga9.noarch
- notification-daemon-engine-nodoka-0.1.0-11.mga9.x86_64
- ongres-scram-2.1-2.mga9.noarch
- ongres-scram-client-2.1-2.mga9.noarch
- pentaho-libxml-1.1.6-15.mga9.noarch
- pentaho-reporting-flow-engine-0.9.4-15.1.mga9.noarch
- phonon4qt5-vlc-0.11.3-2.mga9.x86_64
- php-apcu-5.1.22-2.mga9.x86_64
- php-bz2-8.2.5-2.mga9.x86_64
- php-ctype-8.2.5-2.mga9.x86_64
- php-dom-8.2.5-2.mga9.x86_64
- php-fileinfo-8.2.5-2.mga9.x86_64
- php-gd-8.2.5-2.mga9.x86_64
- php-gettext-8.2.5-2.mga9.x86_64
- php-iconv-8.2.5-2.mga9.x86_64
- php-imap-8.2.5-2.mga9.x86_64
- php-intl-8.2.5-2.mga9.x86_64
- php-mysqli-8.2.5-2.mga9.x86_64
- php-mysqlnd-8.2.5-2.mga9.x86_64
- php-smarty-4.3.1-1.mga9.noarch
- php-tokenizer-8.2.5-2.mga9.x86_64
- php-zip-8.2.5-2.mga9.x86_64
- plasma-browser-integration-5.27.4-1.mga9.x86_64
- plasma-disks-5.27.4-1.mga9.x86_64
- postgresql-jdbc-42.5.1-1.mga9.noarch
- preload-0.6.4-11.mga9.x86_64
- readahead-1.5.7-13.mga9.x86_64
- recordmydesktop-0.4.0-1.mga9.x86_64
- sac-1.3-30.mga9.noarch
- sane-backends-iscan-1.1.1-4.mga9.x86_64
- sha3sum-1.1.5-3.mga9.x86_64
- snort-2.9.20-2.mga9.x86_64
- snort-rules-2.4-13.mga9.noarch
- snortsam-2.70-13.mga9.x86_64
- speex-1.2.1-1.mga9.x86_64
- task-lamp-3-10.mga9.noarch
- task-lamp-extras-3-10.mga9.noarch
- task-lamp-php-3-10.mga9.noarch
- telepathy-gabble-0.18.4-8.mga9.x86_64
- telepathy-salut-0.8.1-12.mga9.x86_64
- twolame-0.4.0-2.mga9.x86_64
- unar-1.10.7-11.mga9.x86_64
- virtualbox-guest-additions-7.0.8-1.mga9.x86_64
- vlc-3.0.18-5.mga9.tainted.x86_64
- vorbisgain-0.37-15.mga9.x86_64
- xml-commons-apis-1.4.01-39.mga9.noarch
- xorriso-1.5.4-3.mga9.x86_64

18MB of additional disk space will be used.

109MB of packages will be retrieved.


The installation failed with this:

3 installation transactions failed

There was a problem during the installation:

file /usr/libexec/fwupd/efi/fwupdx64.efi from install of fwupd-efi-1.3-1.mga9.x86_64 conflicts with file from package fwupd-1.5.5-1.mga8.x86_64

file /usr/libexec/fwupd/efi/fwupdx64.efi.signed from install of fwupd-efi-1.3-1.mga9.x86_64 conflicts with file from package fwupd-1.5.5-1.mga8.x86_64

libjcat.so.1(LIBJCAT_0.1.11)(64bit) is needed by fwupd-1.8.9-2.mga9.x86_64

libjemalloc.so.2()(64bit) is needed by bind-utils-9.18.14-1.mga9.x86_64

libjemalloc.so.2()(64bit) is needed by lib64bind9.18.14-9.18.14-1.mga9.x86_64

libfwupd.so.2(LIBFWUPD_1.5.6)(64bit) is needed by gnome-software-44.1-1.mga9.x86_64

libfwupd.so.2(LIBFWUPD_1.8.1)(64bit) is needed by gnome-software-44.1-1.mga9.x86_64

I'm no developer, but it still needs something done with fwupd, from the look of it.
Comment 1 Thomas Andrews 2023-05-02 17:21:50 CEST
After I saw that an updated fwupd-efi had arrived at my mirror-of-choice, I revisited this vbox guest and tried getting the updates again. This time they were successful.

After removing 15 orphans, I rebooted to a working desktop once again. To all appearances, it's OK.

I don't know what this might mean for the php-pear script errors I saw after the first pass of the upgrade. I can restore the M8 guest and try the upgrade again, and see what happens.

This particular mga8 guest had been used to test updates in the past, and while many packages had been removed after testing, I don't know what else might have been left behind. In addition, there were some tested packages that had not been removed. My thinking was that it's not a bad real-world simulation of a M8->M9 upgrade, as few users will be doing such upgrades on basic, unused systems.
Comment 2 Lewis Smith 2023-05-02 21:40:56 CEST
This is a worms' nest going back a year or two; these are all still open! This bug is not quite the same as the others, though. This looks the essential:
"file /usr/libexec/fwupd/efi/fwupdx64.efi from install of fwupd-efi-1.3-1.mga9.x86_64 conflicts with file from package fwupd-1.5.5-1.mga8.x86_64"

[TRACKER] Packages that need to be obsoleted...
 https://bugs.mageia.org/show_bug.cgi?id=30163#c13
fwupdate, https://bugs.mageia.org/show_bug.cgi?id=28878#c3
Bug 28878 - Conflict between fwupdate-efi and grub2-common

 https://bugs.mageia.org/show_bug.cgi?id=28878
Conflict between fwupdate-efi and grub2-common
[Note that these refer to 'fwupdate', which is obsoleted]

 https://bugs.mageia.org/show_bug.cgi?id=29061
fwupd: (null)/fwupdx64.efi cannot be found

 https://bugs.mageia.org/show_bug.cgi?id=30799
Conflicts while updating fwupd

(In reply to Thomas Andrews from comment #1)
> After I saw that an updated fwupd-efi had arrived at my mirror-of-choice, I
> revisited this vbox guest and tried getting the updates again. This time
> they were successful.
This suggests that the problem is fixed.

Assigning to tv who has the other two fwupd bugs. He may close this one 'fixed'.

Summary: M8->M9 Plasma upgrade attempt in VirtualBox fails, probably because of fwupd => M8->M9 Plasma upgrade attempt in VirtualBox fails, because of conflict between fwupd & fwupdx64-efi
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=30799
CC: (none) => lewyssmith
Assignee: bugsquad => thierry.vignaud

Comment 3 Thomas Andrews 2023-05-03 04:04:28 CEST
I restored the Vbox M8 guest, and tried the upgrade from the CI again. This time I did not see any problems that concerned fwupd, so that part, at least, appears to be fixed.

I still saw script errors regarding several "php-pear" packages, and the boomaga error that we had when doing M7->M8 upgrades is still in effect. 

I don't see the point in rehashing the discussion about boomaga from bug 28419, since nothing has really changed.

As for the php-pear script, that probably calls for a new bug. But that's a job for tomorrow.
Comment 4 Thomas Andrews 2023-05-03 14:35:50 CEST
I see from the qa-discuss ML that we may soon have a new round of beta2 isos to test. I will wait for them and check all this out again.
Comment 5 Thomas Andrews 2023-12-11 16:17:47 CET
I've done several M8>M9 upgrades in the last few months, and this particular situation has been resolved. Closing the bug.

Status: NEW => RESOLVED
Resolution: (none) => FIXED