Bug 1225725

Summary: dnf does not find anaconda-core in repo when installing anaconda-gui
Product: [Fedora] Fedora Reporter: Robin Lee <robinlee.sysu>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bcl, jsilhan, jzeleny, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-28 10:58:59 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 Robin Lee 2015-05-28 06:03:01 UTC
Description of problem:
Try to install anaconda-gui:

$ sudo dnf install anaconda-gui
Last metadata expiration check performed 0:43:08 ago on Thu May 28 13:16:55 2015.
Error: package anaconda-gui-22.20.13-1.fc22.x86_64 requires anaconda-core = 22.20.13-1.fc22, but none of the providers can be installed

But anaconda-core actually exits:

$ sudo dnf info anaconda-core
Last metadata expiration check performed 0:45:11 ago on Thu May 28 13:16:55 2015.
Available Packages
Name        : anaconda-core
Arch        : x86_64
Epoch       : 0
Version     : 22.20.13
Release     : 1.fc22
Size        : 1.5 M
Repo        : fedora
Summary     : Core of the Anaconda installer
URL         : http://fedoraproject.org/wiki/Anaconda
License     : GPLv2+
Description : The anaconda-core package contains the program which was used to install your
            : system.

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

How reproducible:
sudo dnf install anaconda-gui

Comment 1 Jan Zeleny 2015-05-28 07:49:22 UTC
I can't confirm this. When I try to install anaconda-gui, I get a different error message: Chyba: package anaconda-gui-22.20.13-1.fc22.x86_64 requires yelp, but none of the providers can be installed. Recursively trying to install the dependencies manually, I get all the way to chromium blocking the update of libicu which in turn blocks installation/update of webkitgtk3 which in turn blocks update of yelp. Is it possible something like that happens in your case as well?

Comment 2 Jan Zeleny 2015-05-28 07:57:43 UTC
*** Bug 1225661 has been marked as a duplicate of this bug. ***

Comment 3 Robin Lee 2015-05-28 08:05:13 UTC
I found I installed libreport from updates-testing:
libreport-plugin-bugzilla-2.5.1-2.fc22.x86_64

But I then disabled updates-testing. And when I install anaconda-gui, it finally requires libreport-anaconda and it try to install libreport-anaconda from 'fedora':
libreport-anaconda-2.5.1-1.fc22.x86_64

And libreport-anaconda-2.5.1-1.fc22.x86_64 requires libreport-plugin-bugzilla-2.5.1-1.fc22.x86_64. But what I have instaled is libreport-plugin-bugzilla-2.5.1-2.fc22.x86_64. And at this situation, dnf fail to find libreport-plugin-bugzilla-2.5.1-1.fc22.x86_64 in 'fedora'.

So if I manually downgrade libreport-* to 2.5.1-1.fc22.x86_64. The anaconda-gui installation will work.

But after all, the original message from dnf is misleading:
$ sudo dnf install anaconda-gui
Last metadata expiration check performed 0:43:08 ago on Thu May 28 13:16:55 2015.
Error: package anaconda-gui-22.20.13-1.fc22.x86_64 requires anaconda-core = 22.20.13-1.fc22, but none of the providers can be installed

Comment 4 Radek Holy 2015-05-28 10:30:34 UTC
Well, the anaconda-22.20.13-1.fc22 package cannot be installed, right? I'd say that the message is not misleading but I admit that it does not help to debug the issue very much. Anyway, we are working on improving the messages (IIRC, bug 1148627).

Comment 5 Radek Holy 2015-05-28 10:31:13 UTC
I mean anaconda-core-22.20.13-1.fc22

Comment 6 Robin Lee 2015-05-28 10:54:56 UTC
(In reply to Radek Holy from comment #4)
> Well, the anaconda-22.20.13-1.fc22 package cannot be installed, right? I'd
> say that the message is not misleading but I admit that it does not help to
> debug the issue very much. Anyway, we are working on improving the messages
> (IIRC, bug 1148627).

Yes. dnf should figure out and warn me the libreport-* issue for me.

Comment 7 Robin Lee 2015-05-28 10:58:59 UTC

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