Bug 1502312
Summary: | Nothing in Fedora 27+ grub2 obsoletes/provides grub2-efi.i686 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | ne.bu.lus |
Component: | grub2 | Assignee: | Peter Jones <pjones> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 27 | CC: | awilliam, bcl, bugzilla, christoph.wickert, itedjohnson, jkaiserling, lkundrak, pjones, rbottomley, robb, scendoni, scp.stjohn, Simon.Gerhards, stefano.biagiotti, SteveCGElliott, vvs009 |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | grub2-2.02-22.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-14 17:27:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ne.bu.lus
2017-10-15 15:53:44 UTC
Have just tried to upgrade from 26 to 27 with same result: dnf refresh upgrade Problem: package grub2-efi-1:2.02-0.40.fc26.i686 requires grub2-tools = 1:2.02-0.40.fc26, but none of the providers can be installed - grub2-tools-1:2.02-0.40.fc26.i686 does not belong to a distupgrade repository - problem with installed package grub2-efi-1:2.02-0.40.fc26.i686 I was able to get around this by first doing: dnf remove grub2 grub2-efi-modules Possible dups: https://bugzilla.redhat.com/show_bug.cgi?id=1491624 https://bugzilla.redhat.com/show_bug.cgi?id=1506704 I've successfully **destroyed** my system by removing grub2-efi-modules and upgrading to fedora 27. Reinstalling grub by running `dnf reinstall grub2-efi-x64 shim-x64` in fedora 27 always creates broken grub installations (when grub starts an error message appears and the system restarts immediately (I can't read the message)). I was glad that I've duplicated my efi partition after the initial installation of fedora 26, so I was able to easily recover the system. `grub2-mkconfig` seems to work, but reinstalling grub does not work. I think every update of grub will destroy my installation again. I just tested upgrading a fedora 26 (64 bit efi) to fedora 27 in a vm and it is working. I can imagine, that this problem can be caused by installing grub packages from fedora 26 updates-testing. I have the same issue on two laptops (and I have never installed anything from updates-testing). *** This bug has been marked as a duplicate of bug 1491624 *** This is not a duplicate. The problem for the original reporter here is i686 specific. In grub2 builds before the big rework (2.02-8.fc27 and earlier), there was an i686 grub2-efi package. It requires grub2-tools of the same EVR. After the big rework, grub2-efi no longer exists for i686, but nothing obsoletes/provides it either. So upgrades of systems with the i686 grub2-efi package installed are failing because dnf can't keep the requirements of the old grub2-efi package satisfied from the f27 repos. For the other arches where grub2-efi previously existed - x86_64 and aarch64 - there *is* a package which provides/obsoletes grub2-efi now. But not for i686. Anyone commenting on this who does *not* have grub2-efi.i686 installed does *not* have the same problem. There are some similar issues with missing provides/obsoletes for other renamed packages, that I am filing separately. If you don't have grub2-efi.i686 but you *do* have grub2-efi-modules , what you are hitting is https://bugzilla.redhat.com/show_bug.cgi?id=1506704 . BTW, I *strongly* recommend that nobody remove the grub2 or grub2-efi packages in an attempt to work around issues like this. It is very likely to cause problems in some cases. Please wait for pjones to address these problems properly. Hello, Has anyone received a solution for this issue? Please advise Regards, Ed Ed: the bug is assigned to the person who can fix it (pjones), and I've contacted him directly about this and the grub2-efi-modules issue. He is definitely aware of both issues and that they need to be fixed. If you're absolutely sure your system isn't actually booting via UEFI you can remove grub2-efi.i686 and the upgrade should work fine, but please only do that if you're sure it isn't needed for your install. Adam Williamson Thanks for the update, I tried again this morning 11.25.2017 and there is an issue with grub2-ef. I have a screenshot of this message but not sure you can upload it here. Second when I upgraded to Fedora Deskstop 26 there were no issues and I did not loose any files. I am cautious of this upgrade so I will wait for a fix for this issue before upgrading to Fedora 27 Regard, Ed Adam This is the message that pops-up onscreen after the download of Fedora 27 is complete via the Software Repository: Incomplete Software some of the currently installed software is not compatible with Fedora 27. If you continue the following will be automatically removed during the upgrade grub2-efi Regards, Ed Adam This is the message that pops-up onscreen after the download of Fedora 27 is complete via the Software Repository: Incomplete Software some of the currently installed software is not compatible with Fedora 27. If you continue the following will be automatically removed during the upgrade grub2-efi Regards, Ed Right, that's just informing you that proceeding with the upgrade will remove the grub2-efi package (dnf defaults to bailing out if any packages can't be handled cleanly; gnome-software defaults to removing them and proceeding). If you're sure you're not actually using UEFI to boot, that's no problem. But if you're not sure, yup, just hang tight. Adam Williamson, I am going to just hang tight. There is no rush thanks for the immediate update. NICE Eddie same problem encountered upgrading from fedora 26 i686 to fedora 27 using dnf I received the same warning when beginning the upgrade. I stopped the upgrade pending resolution. Removing grub2-efi-modules and then manually upgrading worked for me. Then you had 1506704, not this bug. This bug is specific to grub2-efi.i686. I have this very same error on F26 i686 trying to system-upgrade to F27. # LANG=C dnf system-upgrade download --releasever=27 Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y Last metadata expiration check: 0:00:00 ago on Sun Dec 3 00:51:11 2017. Error: Problem: package grub2-efi-1:2.02-0.40.fc26.i686 requires grub2-tools = 1:2.02-0.40.fc26, but none of the providers can be installed - grub2-tools-1:2.02-0.40.fc26.i686 does not belong to a distupgrade repository - problem with installed package grub2-efi-1:2.02-0.40.fc26.i686 I am sure the system isn't booting via uefi therefore, as Adam Williamson stated, I'm going to remove grub2-efi and retry to system-upgrade. The system-upgrade worked like a charm, I am on F27 now. Thank you Adam for the hint. For reference: to determine whether your system boots BIOS compatibility mode rather than UEFI(even though the system may have been originally with UEFI) see the following: https://unix.stackexchange.com/questions/148356/how-to-know-if-im-booting-using-uefi After determining that the system did not use UEFI on boot I removed grub2-efi-1:2.02-0.40.fc26.i686 and the laptop upgraded flawlessly to F27. Adam I received the following after checking for efi on my current fedora 26 distro and received the following: $ sudo efibootmgr EFI variables are not supported on this system. From the result I am good to go. Presently downloading 27 and will update. Last metadata expiration check: 0:00:00 ago on Thu 18 Jan 2018 09:59:28 AM EST. Error: Problem: package grub2-efi-1:2.02-0.40.fc26.i686 requires grub2-tools = 1:2.02-0.40.fc26, but none of the providers can be installed - grub2-tools-1:2.02-0.40.fc26.i686 does not belong to a distupgrade repository - problem with installed package grub2-efi-1:2.02-0.40.fc26.i686 This is the result of trying to upgrade to Fedora 27. Tried thru the software portal and it just stops downloading after 15 minutes. I am going to have to remove this package and try again. Update to follow. [sudo] password for ejohnson: Dependencies resolved. =========================================================================================================================== Package Arch Version Repository Size =========================================================================================================================== Removing: grub2-efi i686 1:2.02-0.40.fc26 @fedora 3.8 M Transaction Summary =========================================================================================================================== Remove 1 Package Freed space: 3.8 M Is this ok [y/N]: Y Now downloading 27 via line command 2 thousand plus packages. Update to follow! grub2-2.02-21.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 grub2-2.02-21.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 After removing the grub2 package completely plus dependencies I now have Fedora 27 installed on a 10.5 year old Dell Inspiron E1505. NICE grub2-2.02-21.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 (In reply to Fedora Update System from comment #32) > grub2-2.02-21.fc27 has been pushed to the Fedora 27 testing repository. If > problems still persist, please make note of it in this bug report. > See https://fedoraproject.org/wiki/QA:Updates_Testing for > instructions on how to install test updates. > You can provide feedback for this update here: > https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 I will check tomorrow and update accordingly. Did not check if grub2-2.02-21.fc27 is installed with Fedora 27 but will update. This only became an issue while trying to update from 26 to 27 but I hear 28 is on the horizon. grub2-2.02-22.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 grub2-2.02-22.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fbcc83aa97 grub2-2.02-22.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |