Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1774617 - mpv reported as package to be installed and skipped at the same time
Summary: mpv reported as package to be installed and skipped at the same time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavla Kratochvilova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-20 14:51 UTC by Vít Ondruch
Modified: 2020-05-01 04:04 UTC (History)
8 users (show)

Fixed In Version: dnf-4.2.21-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-01 04:04:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2019-11-20 14:51:59 UTC
Description of problem:

This is very confusing output:

~~~
$ sudo dnf update -x kernel\* -x libtomcrypt -x python3-paste 
Last metadata expiration check: 0:09:38 ago on Wed Nov 20 15:36:43 2019.
Dependencies resolved.

 Problem 1: package mpv-0.30.0-1.fc32.x86_64 requires libdvdread.so.4()(64bit), but none of the providers can be installed
  - cannot install both libdvdread-6.0.2-2.fc32.x86_64 and libdvdread-6.0.1-2.fc31.x86_64
  - cannot install the best update candidate for package mpv-0.29.1-18.20191011.gita85fa2d.fc32.x86_64
  - cannot install the best update candidate for package libdvdread-6.0.1-2.fc31.x86_64
 Problem 2: problem with installed package mpv-0.29.1-18.20191011.gita85fa2d.fc32.x86_64
  - package mpv-0.29.1-18.20191011.gita85fa2d.fc32.x86_64 requires libdvdread.so.4()(64bit), but none of the providers can be installed
  - package mpv-0.30.0-1.fc32.x86_64 requires libdvdread.so.4()(64bit), but none of the providers can be installed
  - cannot install both libdvdread-6.0.2-2.fc32.x86_64 and libdvdread-6.0.1-2.fc31.x86_64
  - package gnome-disk-utility-3.34.0-2.fc32.x86_64 requires libdvdread.so.7()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package gnome-disk-utility-3.34.0-1.fc32.x86_64
================================================================================
 Package                           Arch   Version                 Repo     Size
================================================================================
Upgrading:

... snip ...

 mpv                               x86_64 0.30.0-1.fc32           rpmfusion-free-rawhide
                                                                          1.3 M

... snip ...

Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 libdvdread                        x86_64 6.0.2-2.fc32            rawhide  70 k
Skipping packages with broken dependencies:
 gnome-disk-utility                x86_64 3.34.0-2.fc32           rawhide 1.1 M
 mpv                               x86_64 0.30.0-1.fc32           rpmfusion-free-rawhide
                                                                          1.3 M

... snip ...
~~~

I wonder how it is possible that 'mpv' is reported to be updated and at the same time reported as being skipped due to broken dependencies. What will be the result?

It is probably updatable:

~~~
$ LC_ALL=C.UTF-8 sudo dnf update -x kernel\* -x libtomcrypt -x python3-paste mpv
Last metadata expiration check: 0:13:00 ago on Wed Nov 20 15:36:43 2019.
Dependencies resolved.
================================================================================
 Package   Architecture Version              Repository                    Size
================================================================================
Upgrading:
 mpv       x86_64       0.30.0-1.fc32        rpmfusion-free-rawhide       1.3 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 1.3 M
Is this ok [y/N]: 
~~~


Version-Release number of selected component (if applicable):


How reproducible:
$ rpm -q dnf libsolv
dnf-4.2.15-2.fc32.noarch
libsolv-0.7.8-1.fc32.x86_64

Steps to Reproduce:
1.
2.
3.

Actual results:
It is not clear if mpv is going to be updated or not.

Expected results:
It is clear if mpv is going to be udpated or not.


Additional info:
$ rpm -q libdvdread mpv
libdvdread-6.0.1-2.fc31.x86_64
mpv-0.29.1-18.20191011.gita85fa2d.fc32.x86_64

Comment 1 Pavla Kratochvilova 2020-01-29 12:27:58 UTC
The package is incorrectly reported as skipped (both in the transaction table and in the post-transaction summary). The dependency problems reported before the transaction table are probably expected, since these should be problems in installing the best candidates before falling back to non-best ones.

PR: https://github.com/rpm-software-management/dnf/pull/1581
Test: https://github.com/rpm-software-management/ci-dnf-stack/pull/778

Comment 2 Ben Cotton 2020-02-11 17:23:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 3 Fedora Update System 2020-04-09 10:56:43 UTC
FEDORA-2020-68aa5586ed has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-68aa5586ed

Comment 4 Fedora Update System 2020-04-09 18:40:13 UTC
FEDORA-2020-68aa5586ed has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-68aa5586ed`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-68aa5586ed

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-05-01 04:04:38 UTC
FEDORA-2020-68aa5586ed has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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