Bug 1400169

Summary: Error while trying to upgrade fedora 24 to 25
Product: [Fedora] Fedora Reporter: Daniel <danielsun3164>
Component: dnf-plugin-system-upgradeAssignee: Will Woods <wwoods>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: wwoods, zbyszek
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: 2016-12-01 14:42:32 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:
Attachments:
Description Flags
Output of sudo dnf -v system-upgrade download --releasever=25 none

Description Daniel 2016-11-30 15:36:34 UTC
Created attachment 1226384 [details]
Output of sudo dnf -v system-upgrade download --releasever=25

Description of problem:
Unable to upgrade from fedora 24 to 25 because dnf is trying to install rpm.i686 which conflicts with rpm.x86_64.

Version-Release number of selected component (if applicable):
$ rpm -q dnf-plugin-system-upgrade
dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch

How reproducible:
Everytime

Steps to Reproduce:
1. run sudo dnf -v system-upgrade download --releasever=25

Actual results:
Error: Transaction check error:
  file /usr/lib/rpm/macros conflicts between attempted installs of rpm-4.13.0-4.fc25.i686 and rpm-4.13.0-4.fc25.x86_64

Expected results:
rpm.i686 should not be installed on a x86_64 system.

Additional info:
I do not have rpm.i686 installed.

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-11-30 17:11:02 UTC
The issue is that you have some i686 packages which gained a dependency on the rpm package, so it is being pulled in to satisfy that dependency. It's most likely rpm-plugin-selinux.i686 that you have installed. So you should first uninstall some i686 packages (which I assume you don't need), and then retry the upgrade:
   dnf remove rpm-libs.i686 rpm-plugin-selinux.i686

Comment 2 Daniel 2016-12-01 14:42:32 UTC
Thank you very much for the solution.
After removed package rpm-libs.i686 and rpm-plugin-selinux.i686, I could upgrade my fedora now.