Bug 1394125 - dnf output makes it impossible to figure out what's causing a dependency issue with obsoleted packages
Summary: dnf output makes it impossible to figure out what's causing a dependency issu...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 06:24 UTC by Adam Williamson
Modified: 2016-11-11 07:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-11 07:45:32 UTC
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2016-11-11 06:24:01 UTC
Trying to upgrade my F24 laptop to F25, I get this *really helpful* output:

[root@xps13 adamw]# dnf system-upgrade download --releasever=25 --best --allowerasing
Private side repo                                                                     100 kB/s | 257  B     00:00    
Failed to synchronize cache for repo 'rpmfusion-free-updates', disabling.
Failed to synchronize cache for repo 'rpmfusion-nonfree-updates', disabling.
Error: package ghc-nats-0.2-3.fc24.x86_64 requires libHSarray-0.5.0.0-ghc7.8.4.so()(64bit), but none of the providers can be installed.
package rpm-python3-4.13.0-1.fc24.x86_64 requires rpm = 4.13.0-1.fc24, but none of the providers can be installed.
package rpm-python-4.13.0-1.fc24.x86_64 requires rpm = 4.13.0-1.fc24, but none of the providers can be installed

This tells me exactly nothing useful, because the real question is 'why does dnf think I still need rpm-python3 and rpm-python instead of the python2-rpm and python3-rpm packages that obsolete / provide them'?

But it doesn't tell me and I'm reduced to playing 'dnf remove bingo' to try and figure it out.

Comment 1 Adam Williamson 2016-11-11 07:45:32 UTC
hah, well, turns out it's relatively simple: the rpm I have installed on f24 is actually a higher NEVR than f25's rpm-python2 / rpm-python3 have obsoletes for...

hmm, not sure the error message could be much better in this situation, really.

Comment 2 Igor Gnatenko 2016-11-11 07:47:20 UTC
(In reply to Adam Williamson from comment #1)
> hah, well, turns out it's relatively simple: the rpm I have installed on f24
> is actually a higher NEVR than f25's rpm-python2 / rpm-python3 have
> obsoletes for...
> 
> hmm, not sure the error message could be much better in this situation,
> really.

in DNF 2.0 this is done.


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