Hide Forgot
Description of problem: DNF is unable to upgrade to compiler-rt-4.0.1-5.fc27.x86_64 from compiler-rt-4.0.1-4.fc27.x86_64 Version-Release number of selected component (if applicable): How reproducible: So far I have only upgraded one Fedora 26 system to 27 Steps to Reproduce: on a fedora 26 64bit system: 1. sudo dnf upgrade --refresh 2. sudo dnf system-upgrade download --releasever=27 3. sudo dnf system-upgrade reboot after reboot and login: 4. sudo dnf update Actual results: Dependencies resolved. Problem: compiler-rt-4.0.1-4.fc27.i686 has inferior architecture - cannot install both compiler-rt-4.0.1-5.fc27.x86_64 and compiler-rt-4.0.1-4.fc27.x86_64 - cannot install both compiler-rt-4.0.1-4.fc27.x86_64 and compiler-rt-4.0.1-5.fc27.x86_64 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.i686 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.x86_64 ================================================================================ Package Arch Version Repository Size ================================================================================ Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): compiler-rt x86_64 4.0.1-5.fc27 updates 1.7 M Transaction Summary ================================================================================ Skip 1 Package Expected results: update to latest x86_64 version of compiler-rt Additional info: Running: dnf repoquery -i --installed compiler-rt shows that the package came from fedora repository
Confirmed, same issue here after F26->F27 upgrade.
The issue here is that the updated compiler-rt.i686 package was not pushed to the fedora27 updates repository. You are getting this error because you are trying to update the x86_64 package but there is no corresponding update package for the i686 architecture.
In any event I installed compiler-rt-4.0.1-5.fc27.i686.rpm from koji and all is well now.
We had this same issue when the update was in the testing repo. Maybe there is a bug in the update process that causes it to drop i686 packages from the x86_64 repos? I can see the i686 builds in koji: https://koji.fedoraproject.org/koji/buildinfo?buildID=969740
I have the same issue but it's for two packages: [root@localhost nemanja]# dnf update Last metadata expiration check: 0:05:36 ago on Sat 25 Nov 2017 11:46:21 AM CET. Dependencies resolved. Problem 1: compiler-rt-4.0.1-4.fc27.i686 has inferior architecture - cannot install both compiler-rt-4.0.1-5.fc27.x86_64 and compiler-rt-4.0.1-4.fc27.x86_64 - cannot install both compiler-rt-4.0.1-4.fc27.x86_64 and compiler-rt-4.0.1-5.fc27.x86_64 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.i686 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.x86_64 Problem 2: package mariadb-connector-c-3.0.2-15.fc27.x86_64 requires mariadb-libs, but none of the providers can be installed - installed package mysql-community-libs-compat-5.7.20-1.fc26.x86_64 obsoletes mariadb-libs provided by mariadb-libs-3:10.2.9-3.fc27.i686 - installed package mysql-community-libs-compat-5.7.20-1.fc26.x86_64 obsoletes mariadb-libs provided by mariadb-libs-3:10.2.9-3.fc27.x86_64 - cannot install the best update candidate for package mariadb-connector-c-3.0.2-4.fc27.x86_64 - problem with installed package mysql-community-libs-compat-5.7.20-1.fc26.x86_64 =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): compiler-rt x86_64 4.0.1-5.fc27 updates 1.7 M Skipping packages with broken dependencies: mariadb-connector-c x86_64 3.0.2-15.fc27 updates 9.8 k Transaction Summary =================================================================================================================================================================================================================== Skip 2 Packages Nothing to do. Complete!
OK so I have run into this on a few packages and what the real issue is here is that there has been an attempt to lower the number of i686 packages included with 64-bit installs. This is a laudable goal. The current thing is to define what are multi-lib packages and only provide i686 versions of those. THe problem here is with packages that are multi-lib which are dependent on packages that do not meet the multilib criteria. The packages I have frun into are clang-libs.i686 which is dependent on compier-rt.i686 no longer provided and libpng-devel.i686 , pango-devel.i686 and freetype-devel.i686 which are directly or indirectly dependent on pkgconfig.i686. and it seems comment 5 points out other such dependency issues.
(In reply to Bill Gianopoulos from comment #6) > OK so I have run into this on a few packages and what the real issue is here > is that there has been an attempt to lower the number of i686 packages > included with 64-bit installs. This is a laudable goal. The current thing > is to define what are multi-lib packages and only provide i686 versions of > those. THe problem here is with packages that are multi-lib which are > dependent on packages that do not meet the multilib criteria. > Is it necessary to explicitly mark a package as being a multi-lib package? If so, how do I do this?
I had the same issue when upgrading from f25 to f27 as shown below. The solution for me was to remove and then re-install compiler-rt and any dependencies that were removed with compiler-rt. $ sudo dnf update Problem: compiler-rt-4.0.1-4.fc27.i686 has inferior architecture - cannot install both compiler-rt-4.0.1-5.fc27.x86_64 and compiler-rt-4.0.1-4.fc27.x86_64 - cannot install both compiler-rt-4.0.1-4.fc27.x86_64 and compiler-rt-4.0.1-5.fc27.x86_64 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.i686 - cannot install the best update candidate for package compiler-rt-4.0.1-4.fc27.x86_64 $ sudo dnf remove compiler-rt Dependencies resolved. =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Removing: compiler-rt i686 4.0.1-4.fc27 @@commandline 15 M compiler-rt x86_64 4.0.1-4.fc27 @@commandline 18 M Removing dependent packages: beignet x86_64 1.3.2-1.fc27 @@commandline 18 M clang-libs i686 4.0.1-5.fc27 @@commandline 45 M clang-libs x86_64 4.0.1-5.fc27 @@commandline 45 M mesa-libOpenCL i686 17.2.4-2.fc27 @@commandline 1.9 M mesa-libOpenCL x86_64 17.2.4-2.fc27 @@commandline 2.0 M pocl x86_64 0.14-4.fc27 @@commandline 189 M Removing unused dependencies: hwloc-libs x86_64 1.11.5-6.fc27 @@commandline 2.1 M libclc i686 0.2.0-9.git1cb3fbf.fc27 @@commandline 37 M libclc x86_64 0.2.0-9.git1cb3fbf.fc27 @@commandline 37 M opencl-filesystem noarch 1.0-6.fc27 @@commandline 0 Transaction Summary =================================================================================================================================================================================================================== Remove 12 Packages Next I had to re-install compiler-rt and the dependent packages that dnf uninstalled with compiler-rt. $ sudo dnf install compiler-rt -y $ sudo dnf install beignet clang-libs mesa-libOpenCL pocl -y $ sudo dnf update Last metadata expiration check: 0:30:11 ago on Thu 11 Jan 2018 09:11:25 AM EST. Dependencies resolved. Nothing to do. Complete! Last was a reboot to verify everything is still working as expected.
*** Bug 1514446 has been marked as a duplicate of this bug. ***
I've requested that compiler-rt be marked as a multilib package: https://pagure.io/pungi-fedora/issue/501
The workaround is to create fedora-updates-testing32.repo with baseurl=http://dl.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/i386/ and then compiler-rt-5.0.1-2.fc27.i686.rpm is found. BTW, there was no such problem when compiler-rt was updated to 5.0.0-1.fc27 a few days ago - both x86_64 and i686 versions were available at the same time in the same repo.
(In reply to Nerijus Baliūnas from comment #11) > BTW, there was no such problem when compiler-rt was updated to 5.0.0-1.fc27 > a few days ago - both x86_64 and i686 versions were available at the same > time in the same repo. And now 5.0.1 from this update: https://bodhi.fedoraproject.org/updates/FEDORA-2018-884ee4cdf4 has the same problem as before.
(In reply to Andrew Schultz from comment #12) > (In reply to Nerijus Baliūnas from comment #11) > > BTW, there was no such problem when compiler-rt was updated to 5.0.0-1.fc27 > > a few days ago - both x86_64 and i686 versions were available at the same > > time in the same repo. > > And now 5.0.1 from this update: > > https://bodhi.fedoraproject.org/updates/FEDORA-2018-884ee4cdf4 > > has the same problem as before. Does passing --allowerasing to dnf fix this problem?
If --allowerasing "fixes" the problem, it will be a workaround only. The problem is still not fixed: # dnf reinstall compiler-rt.i686 Installed package compiler-rt-5.0.1-2.fc27.i686 not available. There is no compiler-rt-5.0.1-2.fc27.i686 package accessible in 64 bit repos.
(In reply to Tom Stellard from comment #13) > Does passing --allowerasing to dnf fix this problem? --allowerasing does not fix the problem. It just tries to remove compiler-rt.i686 (as the name would suggest).
I'll note that when this bug was filed, clang-libs.i686 required compiler-rt.i686 (and mesa required clang-libs and many packages required mesa). The current version of clang-libs (5.0.1) does not require compiler-rt (and I don't have anything else installed that requires compiler-rt... even the x86_64 version). Perhaps compiler-rt.i686 *should* not be included in the x86-64 repo.
I can confirm compiler-rt.i686 can be uninstalled, it is not required anymore on my system too.
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.