Bug 1398040

Summary: dnf calls weak dependencies "Skipping packages with broken dependencies"
Product: [Fedora] Fedora Reporter: Harald Reindl <h.reindl>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: h.reindl, jberan, jhasse, jmracek, massi.ergosum, mluscon, packaging-team-maint, pnemade, rdieter, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-2.5.0-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 19:05:50 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:
Bug Depends On:    
Bug Blocks: 1399615    

Description Harald Reindl 2016-11-23 23:43:06 UTC Comment hidden (abuse)
Comment 1 Harald Reindl 2016-11-24 11:43:50 UTC Comment hidden (abuse)
Comment 2 Rex Dieter 2016-11-24 12:52:43 UTC
The qt 5.6.2 update,
https://bodhi.fedoraproject.org/updates/FEDORA-2016-ee7faa4b02
indeed has broken deps (missing kwin and plasma-integration), I'll be fixing it today. (sorry)

Comment 3 Harald Reindl 2016-11-26 12:24:19 UTC Comment hidden (abuse)
Comment 4 Jaroslav Mracek 2016-11-28 19:14:02 UTC
Please can you provide transaction output from "yum update --skip-broken" and 'dnf upgrade'. Please before comperison clean cache for dnf and for yum. Thanks a lot, any additional information will speedup redesign of dnf code. Thanks a lot.

Comment 5 Harald Reindl 2016-11-28 19:32:48 UTC Comment hidden (abuse)
Comment 6 Jakub Filak 2016-11-29 08:58:18 UTC
I've hit a different problem with the skipping packages with broken dependencies feature. I tried to install curl, libcurl and libcurl-devel and dnf replied with the following message:

Last metadata expiration check: 2:01:31 ago on Tue Nov 29 01:03:07 2016.
Package libcurl-7.50.3-1.fc25.x86_64 is already installed, skipping.
Package libcurl-devel-7.50.3-1.fc25.x86_64 is already installed, skipping.
Dependencies resolved.
==========================================================================================================================================================================
 Package                                     Arch                                 Version                                     Repository                             Size
==========================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 curl                                        x86_64                               7.51.0-3.fc25                               updates                               307 k
 libcurl                                     x86_64                               7.51.0-3.fc25                               updates                               266 k
 libcurl-devel                               x86_64                               7.51.0-3.fc25                               updates                               665 k
 
Transaction Summary
==========================================================================================================================================================================
Skip  3 Packages
 
Nothing to do.
Complete!


I didn't notice that dnf tried to tell me that the packages are already installed but I noticed that I should run dnf with '--best --allowerasing'. I went ahead and this time dnf replied with exactly the same message but it proceed with the installation. I call this utter confusing behavior. dnf should either print only the lines saying that the packages are already installed or install the updates.

Comment 7 Jaroslav Mracek 2017-04-10 13:18:23 UTC
I create huge refactor of problems report https://github.com/rpm-software-management/dnf/pull/782. Hope that it helps.

Comment 8 Fedora Update System 2017-05-22 12:40:21 UTC
dnf-plugins-extras-2.0.1-1.fc26 dnf-plugins-core-2.1.0-1.fc26 libdnf-0.9.0-1.fc26 dnf-2.5.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-92e5a01da8

Comment 9 Fedora Update System 2017-05-22 16:39:50 UTC
dnf-2.5.0-1.fc26, dnf-plugins-core-2.1.0-1.fc26, dnf-plugins-extras-2.0.1-1.fc26, libdnf-0.9.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-92e5a01da8

Comment 10 Fedora Update System 2017-05-24 08:31:28 UTC
dnf-2.5.0-1.fc26 dnf-plugins-core-2.1.0-1.fc26 dnf-plugins-extras-2.0.1-1.fc26 dnfdaemon-0.3.17-3.fc26 libdnf-0.9.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-92e5a01da8

Comment 11 Fedora Update System 2017-05-24 14:32:48 UTC
dnf-2.5.0-2.fc26 dnf-plugins-core-2.1.0-1.fc26 dnf-plugins-extras-2.0.1-1.fc26 dnfdaemon-0.3.18-1.fc26 libdnf-0.9.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-92e5a01da8

Comment 12 Fedora Update System 2017-05-25 19:17:20 UTC
dnf-2.5.0-2.fc26, dnf-plugins-core-2.1.0-1.fc26, dnf-plugins-extras-2.0.1-1.fc26, dnfdaemon-0.3.18-2.fc26, libdnf-0.9.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-92e5a01da8

Comment 13 Fedora Update System 2017-06-09 19:05:50 UTC
dnf-2.5.0-2.fc26, dnf-plugins-core-2.1.0-1.fc26, dnf-plugins-extras-2.0.1-1.fc26, dnfdaemon-0.3.18-2.fc26, libdnf-0.9.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.