Bug 1689633

Summary: dnf error Package edk2-ovmf of higher version already installed, cannot update it when upgrading to edk2-ovmf-201903stable-1.fc29
Product: [Fedora] Fedora Reporter: Matt Fagnani <matt.fagnani>
Component: edk2Assignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: berrange, crobinso, kraxel, pbonzini, philmd, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: edk2-20190308stable-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-03 03:31:02 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 Matt Fagnani 2019-03-17 07:11:56 UTC
Description of problem:

I tried to upgrade from edk2-ovmf-20180815gitcb5f4f45ce-4.fc29 to edk2-ovmf-201903stable-1.fc29 from koji using
sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/edk2/201903stable/1.fc29/noarch/edk2-ovmf-201903stable-1.fc29.noarch.rpm 

dnf had the error Package edk2-ovmf of higher version already installed, cannot update it.

Downgrading with sudo dnf downgrade https://kojipkgs.fedoraproject.org//packages/edk2/201903stable/1.fc29/noarch/edk2-ovmf-201903stable-1.fc29.noarch.rpm
ran without errors.

Version-Release number of selected component (if applicable):
edk2-ovmf-20180815gitcb5f4f45ce-4.fc29
edk2-ovmf-201903stable-1.fc29

How reproducible:
I tried the steps once.

Steps to Reproduce:
In F29 with updates-testing enabled and edk2-ovmf-20180815gitcb5f4f45ce-4.fc29 installed:
1. sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/edk2/201903stable/1.fc29/noarch/edk2-ovmf-201903stable-1.fc29.noarch.rpm
2. sudo dnf downgrade https://kojipkgs.fedoraproject.org//packages/edk2/201903stable/1.fc29/noarch/edk2-ovmf-201903stable-1.fc29.noarch.rpm
3.

Actual results:
dnf error Package edk2-ovmf of higher version already installed, cannot update it.

Expected results:
edk2-ovmf would be upgraded

Additional info:

20180815 might be considered a higher version than 201903 by dnf since 20180815 > 201903 even though 20180815 is older. Changing the version number to something like 20190315stable might allow the edk2 package to be upgraded.

Comment 1 Fedora Update System 2019-03-18 16:19:59 UTC
edk2-20190308stable-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-bff1cbaba3

Comment 2 Fedora Update System 2019-03-19 04:44:40 UTC
edk2-20190308stable-1.fc29 has been pushed to the Fedora 29 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-2019-bff1cbaba3

Comment 3 Fedora Update System 2019-04-03 03:31:02 UTC
edk2-20190308stable-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.