Bug 1400169 - Error while trying to upgrade fedora 24 to 25
Summary: Error while trying to upgrade fedora 24 to 25
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugin-system-upgrade
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-30 15:36 UTC by Daniel
Modified: 2016-12-01 14:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-01 14:42:32 UTC
Type: Bug


Attachments (Terms of Use)
Output of sudo dnf -v system-upgrade download --releasever=25 (2.37 MB, text/plain)
2016-11-30 15:36 UTC, Daniel
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.