Bug 1542616 - dnf-utils vs. yum-utils conflicts block upgrade
Summary: dnf-utils vs. yum-utils conflicts block upgrade
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1543157 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-06 16:33 UTC by Przemek Klosowski
Modified: 2019-02-24 00:30 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-24 18:12:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Przemek Klosowski 2018-02-06 16:33:27 UTC
Description of problem:
The upgrade is blocked because  of a dozen conflicts like this one:

file /usr/bin/debuginfo-install from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch

Currently I have yum-utils installed, but not dnf-utils, which is being installed as a dependence.

Neither --skip-broken nor --best (nor both) help---no packages go in at the moment.


Version-Release number of selected component (if applicable):
yum-utils-1.1.31-513.fc27.noarch


How reproducible: every time


Steps to Reproduce:
1. dnf -y update

Actual results:
The upgrade is blocked because  of a dozen conflicts like this one:

file /usr/bin/debuginfo-install from install of dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package yum-utils-1.1.31-513.fc27.noarch

Expected results: successful update

Comment 1 Przemek Klosowski 2018-02-06 18:07:15 UTC
It seems to me that fedora-upgrade pulls in dnf-utils, so the workaround is:

dnf -y update --exclude=fedora-upgrade

I kind-of guessed this---is there a systematic way of finding out which package causes similar file conflicts? From the error message I can infer dnf-utils is to blame, but how do I find out which package pulls it in as a dependency? 

I tried repoquery, but it's unfriendly and uninformative:
'
repoquery whatrequires dnf-utils

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


dnf-utils-0:2.1.5-1.fc27.noarch
'

Comment 2 Mebus 2018-02-06 18:55:13 UTC
(In reply to Przemek Klosowski from comment #0)
> Description of problem:
> The upgrade is blocked because  of a dozen conflicts like this one:
> 
> file /usr/bin/debuginfo-install from install of
> dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package
> yum-utils-1.1.31-513.fc27.noarch
> 
> Currently I have yum-utils installed, but not dnf-utils, which is being
> installed as a dependence.
> 
> Neither --skip-broken nor --best (nor both) help---no packages go in at the
> moment.
> 
> 
> Version-Release number of selected component (if applicable):
> yum-utils-1.1.31-513.fc27.noarch
> 
> 
> How reproducible: every time
> 
> 
> Steps to Reproduce:
> 1. dnf -y update
> 
> Actual results:
> The upgrade is blocked because  of a dozen conflicts like this one:
> 
> file /usr/bin/debuginfo-install from install of
> dnf-utils-2.1.5-1.fc27.noarch conflicts with file from package
> yum-utils-1.1.31-513.fc27.noarch
> 
> Expected results: successful update

I can confirm this bug.

Mebus

Comment 3 Miroslav Suchý 2018-02-08 07:32:35 UTC
*** Bug 1543157 has been marked as a duplicate of this bug. ***

Comment 4 Kjell Randa 2018-02-08 19:51:31 UTC
Ref https://bugzilla.redhat.com/show_bug.cgi?id=1543157

Other packages in Fedora 27 like lpf depends on yum-utils.
Then you cannot have both fedora-upgrade and lpf installed on the same machine.

All packages should be updated to used dnf-utils.

Kjell

Comment 5 Jaroslav Mracek 2018-09-24 18:12:12 UTC
I think we cannot do much here. Both packages provides same files. In fedora f30, there will be only dnf-utils.

Comment 6 Maciej Żenczykowski 2019-02-24 00:30:56 UTC
This is broken again.

Shouldn't dnf-utils obsolete or provide yum-utils?


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