Bug 1956631

Summary: Fedora 34 upgrade from Fedora 33 blocked by rdma-core
Product: [Fedora] Fedora Reporter: Jeff lats <lats>
Component: rdma-coreAssignee: Honggang LI <honli>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: bugzilla, dledford, greartes, honli, jarodwilson, jgotts, smauersberg, tmvolin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff lats 2021-05-04 05:46:44 UTC
Description of problem:upgrading from FC33 to FC34is blocked 

Error: 
 Problem: rdma-core-34.0-1.fc33.i686 has inferior architecture
  - rdma-core-34.0-1.fc33.x86_64 does not belong to a distupgrade repository
  - problem with installed package rdma-core-34.0-1.fc33.i686



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


How reproducible:
Happens every time following the upgrade guide.

Steps to Reproduce:
1. sudo dnf system-upgrade download --releasever=34 --skip-broken
2.
3.

Actual results:

Error: 
 Problem: rdma-core-34.0-1.fc33.i686 has inferior architecture
  - rdma-core-34.0-1.fc33.x86_64 does not belong to a distupgrade repository
  - problem with installed package rdma-core-34.0-1.fc33.i686

Expected results:


Additional info:
Attempting to erase rdma-core gives:
sudo dnf erase rdma-core-34.0-1.fc33.i686

Error: 
 Problem: The operation would result in removing the following protected packages: systemd
(try to add '--skip-broken' to skip uninstallable packages)

Comment 1 Pavla Kratochvilova 2021-05-04 06:27:39 UTC
*** Bug 1954733 has been marked as a duplicate of this bug. ***

Comment 2 Steve 2021-05-05 11:50:09 UTC
I can confirm this bug, except that it would not remove systemd but wine*.

$ sudo dnf remove rdma-core-34.0-1.fc33.i686
Dependencies resolved.
================================================================================
 Package                        Arch   Version                   Repo      Size
================================================================================
Removing:
 rdma-core                      i686   34.0-1.fc33               @updates 115 k
Removing dependent packages:
 libibverbs                     i686   34.0-1.fc33               @updates 990 k
 libpcap                        i686   14:1.10.0-1.fc33          @updates 404 k
 wine                           x86_64 6.7-1.fc33                @updates   0  
 wine-core                      i686   6.7-1.fc33                @updates 473 M
Removing unused dependencies:
 SDL2                           i686   2.0.14-1.fc33             @updates 1.6 M
 gd                             i686   2.3.0-3.fc33              @fedora  406 k
 libFAudio                      i686   21.03.05-1.fc33           @updates 258 k
 libXcomposite                  i686   0.4.5-3.fc33              @fedora   41 k
 libXcursor                     i686   1.2.0-3.fc33              @fedora   49 k
 libXinerama                    i686   1.1.4-6.fc33              @fedora   18 k
 libXpm                         i686   3.5.13-3.fc33             @fedora  129 k
 liberation-narrow-fonts        noarch 2:1.07.6-4.fc33           @fedora  503 k
 libexif                        i686   0.6.22-3.fc33             @updates 2.3 M
 libgphoto2                     i686   2.5.27-1.fc33             @updates 5.8 M
 libieee1284                    i686   0.2.11-34.fc33            @fedora   96 k
 libimagequant                  i686   2.12.6-3.fc33             @fedora  142 k
 libraqm                        i686   0.7.0-6.fc33              @fedora   24 k
 libusbx                        i686   1.0.24-2.fc33             @updates 163 k
 libvkd3d                       i686   1.2-1.fc33                @fedora  386 k
 libvkd3d-shader                i686   1.2-1.fc33                @fedora  277 k
 mesa-libOSMesa                 i686   20.3.5-2.fc33             @updates  11 M
 mingw32-wine-gecko             noarch 2.47.2-1.fc33             @updates  51 M
 mingw64-wine-gecko             noarch 2.47.2-1.fc33             @updates  49 M
 ocl-icd                        i686   2.2.13-1.fc33             @updates 161 k
 samba-common-tools             x86_64 2:4.13.7-1.fc33           @updates 1.2 M
 samba-winbind                  x86_64 2:4.13.7-1.fc33           @updates 1.6 M
 samba-winbind-clients          x86_64 2:4.13.7-1.fc33           @updates 162 k
 samba-winbind-modules          x86_64 2:4.13.7-1.fc33           @updates  81 k
 sane-backends-drivers-cameras  i686   1.0.32-4.fc33             @updates  56 k
 sane-backends-drivers-scanners i686   1.0.32-4.fc33             @updates  13 M
 sane-backends-libs             i686   1.0.32-4.fc33             @updates 100 k
 spirv-tools-libs               i686   2020.5-1.20200803.git92a7165.fc33
                                                                 @fedora  4.4 M
 vulkan-tools                   x86_64 1.2.148.0-1.fc33          @fedora  998 k
 wine-alsa                      i686   6.7-1.fc33                @updates 232 k
 wine-alsa                      x86_64 6.7-1.fc33                @updates 250 k
 wine-arial-fonts               noarch 6.7-1.fc33                @updates 157 k
 wine-capi                      i686   6.7-1.fc33                @updates  84 k
 wine-capi                      x86_64 6.7-1.fc33                @updates  86 k
 wine-cms                       i686   6.7-1.fc33                @updates 396 k
 wine-cms                       x86_64 6.7-1.fc33                @updates 449 k
 wine-courier-fonts             noarch 6.7-1.fc33                @updates 170 k
 wine-desktop                   noarch 6.7-1.fc33                @updates 696 k
 wine-dxvk                      i686   1.8.1-1.fc33              @updates  48 M
 wine-dxvk                      x86_64 1.8.1-1.fc33              @updates  60 M
 wine-dxvk-d3d9                 i686   1.8.1-1.fc33              @updates  14 M
 wine-dxvk-d3d9                 x86_64 1.8.1-1.fc33              @updates  17 M
 wine-dxvk-dxgi                 i686   1.8.1-1.fc33              @updates  13 M
 wine-dxvk-dxgi                 x86_64 1.8.1-1.fc33              @updates  16 M
 wine-fixedsys-fonts            noarch 6.7-1.fc33                @updates  37 k
 wine-fonts                     noarch 6.7-1.fc33                @updates   0  
 wine-ldap                      i686   6.7-1.fc33                @updates 1.3 M
 wine-ldap                      x86_64 6.7-1.fc33                @updates 1.6 M
 wine-marlett-fonts             noarch 6.7-1.fc33                @updates  32 k
 wine-mono                      noarch 6.1.1-1.fc33              @updates 222 M
 wine-ms-sans-serif-fonts       noarch 6.7-1.fc33                @updates 4.6 M
 wine-openal                    i686   6.7-1.fc33                @updates 119 k
 wine-openal                    x86_64 6.7-1.fc33                @updates 157 k
 wine-opencl                    i686   6.7-1.fc33                @updates 332 k
 wine-opencl                    x86_64 6.7-1.fc33                @updates 381 k
 wine-pulseaudio                i686   6.7-1.fc33                @updates 227 k
 wine-pulseaudio                x86_64 6.7-1.fc33                @updates 240 k
 wine-small-fonts               noarch 6.7-1.fc33                @updates  65 k
 wine-symbol-fonts              noarch 6.7-1.fc33                @updates  51 k
 wine-system-fonts              noarch 6.7-1.fc33                @updates 121 k
 wine-systemd                   noarch 6.7-1.fc33                @updates 119  
 wine-tahoma-fonts              noarch 6.7-1.fc33                @updates 300 k
 wine-times-new-roman-fonts     noarch 6.7-1.fc33                @updates 170 k
 wine-twain                     i686   6.7-1.fc33                @updates 282 k
 wine-twain                     x86_64 6.7-1.fc33                @updates 320 k
 wine-webdings-fonts            noarch 6.7-1.fc33                @updates  30 k
 wine-wingdings-fonts           noarch 6.7-1.fc33                @updates  35 k

Transaction Summary
================================================================================
Remove  72 Packages

Freed space: 1.0 G
Is this ok [y/N]:

Comment 3 Steve 2021-05-05 14:16:38 UTC
There is no dependency error by upgrading with the GUI (Gnome-Software) and rdma-core* is deinstalled after upgrading.

Comment 4 John Gotts 2021-05-08 23:33:28 UTC
Probably it would be better to fix the package rather than requiring you to remove 1 GB worth of packages before the upgrade can proceed. Seems a bit excessive to have to remove wine to upgrade to Fedora 34. It's like 50 packages, right?

Comment 5 Jeff lats 2021-05-09 23:34:32 UTC
Note that in my case it was trying to remove systemd not wine.

Comment 6 Honggang LI 2021-05-10 00:40:02 UTC
Remove the rdma-core.i686 package with "rpm -e --nodeps" before you upgrade. That is the workaround.

Comment 7 Dominik 'Rathann' Mierzejewski 2021-05-17 10:37:29 UTC
Duplicate of bug 1919864.

Comment 8 Troy Volin 2021-06-19 02:55:49 UTC
The recent update to rdma-core (in f33 and f34) to rdma-core-35.0-1 breaks the previously-working fix to the "rdma-core prevents F33 to F34 system upgrade" bug.
Specifically, advisory FEDORA-2021-a9fa349382 fixed that by adding obsoletes in the RPM spec which don't work for version 35.0-1:
90	+ %if 0%{?fedora} >= 34
91	+ # self obsoletes to remove i686 multilib package when updating to F34
92	+ Obsoletes: rdma-core < 34.0-3
93	+ %endif
94	+

So when 35.0-1 got introduced, it needed to also update the .spec file to update the Obsoletes to "Obsoletes: rdma-core < 35.0-1"

If you push that change, nobody will need to do any "rpm -e --nodeps rdma-core.i686" as part of their upgrade path.