Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1490287

Summary: dnf system-upgrade fails due to grub2/grub2-tools
Product: [Fedora] Fedora Reporter: Lukas Brabec <lbrabec>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: awilliam, bcl, lbrabec, lkundrak, pjones, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-11 16:57:09 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:
Bug Depends On:    
Bug Blocks: 1396702    

Description Lukas Brabec 2017-09-11 09:03:13 UTC
Description of problem:
Running dnf system-upgrade on Fedora 26 ends with error:

Error: 
 Problem: package grub2-1:2.02-0.40.fc26.x86_64 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.x86_64 does not belong to a distupgrade repository
  - problem with installed package grub2-1:2.02-0.40.fc26.x86_64

Running with --allowerasing tries to remove grub2 package. 

OpenQA also found this bug:
https://openqa.fedoraproject.org/tests/140064#step/upgrade_run/9


Version-Release number of selected component (if applicable):
grub2-1:2.02-0.40.fc26.x86_64
grub2-tools-1:2.02-0.40.fc26.x86_64


Steps to Reproduce:
1. # dnf system-upgrade download --releasever=27

Comment 1 Fedora Blocker Bugs Application 2017-09-11 09:05:58 UTC
Proposed as a Blocker for 27-beta by Fedora user lbrabec using the blocker tracking app because:

 This bug violates beta blocker criterion:
Upgrade requirements - Recommended upgrade mechanisms - Upgrading with DNF system upgrade plugin

Comment 2 Adam Williamson 2017-09-11 16:57:09 UTC

*** This bug has been marked as a duplicate of bug 1487867 ***