Bug 1160659 - Confusing error when upgrading from f19 to f21
Summary: Confusing error when upgrading from f19 to f21
Keywords:
Status: CLOSED DUPLICATE of bug 1148630
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-05 10:39 UTC by Jaroslav Škarvada
Modified: 2014-11-10 13:17 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-10 13:17:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2014-11-05 10:39:53 UTC
Description of problem:
I upgraded one machine from f19 to f21 using [1] and substituted dnf for the yum. Then running:

# dnf install system-release-workstation
Error: package generic-release-workstation-21-7.noarch requires generic-release = 21-7, but none of the providers can be installed

Yum output is much more helpful:
# yum install system-release-workstation
...
Error: fedora-release-workstation conflicts with fedora-relase-server-21.0.16.noarch
Error: fedora-release-server conflicts with fedora-release-worsktation-21-0.16.noarch

By still not being optimal the yum output lead me easily to conclusion that I have to do:
yum swap system-release-server system-release-workstation

which worked correctly.

[1] https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum

Version-Release number of selected component (if applicable):
dnf-0.6.2-1.fc21.noarch

How reproducible:
Always

Steps to Reproduce:
1. Upgrade f19 to f21 by using dnf (there is very probably more simple reproducer)
2. dnf install system-release-workstation

Actual results:
Cryptic error message

Expected results:
Something that will guide user that she/he needs to swap system-release-server to system-release-workstation, at least something similar to the yum output.

Comment 1 Honza Silhan 2014-11-10 13:17:23 UTC
Hi Jaroslav, "dnf install system-release-workstation --allowerasing" should work.

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


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