Ask Your Question

Problem during dnf-upgrade (f26 -->f27):

asked 2018-03-09 14:58:17 -0500

gobigobi66 gravatar image

updated 2018-03-09 15:04:26 -0500

Hi, I am trying to upgrade my Fedora workstation from F26 to F27. When I order

$ sudo dnf system-upgrade download --refresh --releasever=27

I get the following dependency error:

 Problem 3: both package dnfdragora-gui-1.0.1-6.git20170505.2a3b056.fc27.noarch and dnfdragora-1.0.1-9.git20180108.b0e8a66.fc27.noarch obsolete yumex-dnf < 4.3.3-5
  - problem with installed package yumex-dnf-4.3.3-4.1.fc26.noarch
  - package dnfdragora-gui-1.0.1-6.git20170505.2a3b056.fc27.noarch requires dnfdragora = 1.0.1-6.git20170505.2a3b056.fc27, but none of the providers can be installed
  - both package dnfdragora-1.0.1-9.git20180108.b0e8a66.fc27.noarch and dnfdragora-gui-1.0.1-6.git20170505.2a3b056.fc27.noarch obsolete yumex-dnf < 4.3.3-5
  - cannot install both dnfdragora-1.0.1-6.git20170505.2a3b056.fc27.noarch and dnfdragora-1.0.1-9.git20180108.b0e8a66.fc27.noarch
  - yumex-dnf-4.3.3-4.1.fc26.noarch does not belong to a distupgrade repository

My problem(s): I am not brave enough to remove yumex-dnf since this wants the remove the following packages, which sound too important to me:

Removing dependent packages:
 dnfdaemon-selinux                                      noarch                                      0.3.18-5.fc26                                         @updates                                        0  
 python3-dnfdaemon                                      noarch                                      0.3.18-5.fc26                                         @updates                                       69 k
 dnfdaemon                                              noarch                                      0.3.18-5.fc26                                         @updates                                      263 k

Can I just remove yumex-dnf? Will dnf continue to work afterwards?

Or can I upgrade to F27 and just skip the install process of dnfdragora? I don't think I need or want that package...

Any help is appreciated!

edit retag flag offensive close merge delete


First, be sure you have updated your system. Why not adding --allowerasing and --best options either on update or upgrade, but check the result carefully before proceeding.

kakosf gravatar imagekakosf ( 2018-03-09 15:36:09 -0500 )edit

system is updated. What exactly do --alowerasing and --best? I prefer to intervene manually if I know what I am doing. Or is --allowerasing safe? Will it remove yumex-dnf (I am happy with that)? What will happen with the dependencies? How can I check whether those dependencies are also dependencies of dnf or any other package?

gobigobi66 gravatar imagegobigobi66 ( 2018-03-09 15:52:53 -0500 )edit

--allowerasing : allow erasing of installed packages to resolve any dependencies problems.

--best: will install the best version of a needed package.

For further info, check Sections: dnf options. I had never problem with these. Besides, you can always check the dnf summary before decide anything, e.g. what would be removed. Both are used to solve dependencies issues.

sudo dnf repoquery --unsatisfied: You can see which packages have broken dependencies.

kakosf gravatar imagekakosf ( 2018-03-09 16:24:23 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-03-09 23:43:20 -0500

villykruse gravatar image

updated 2018-03-09 23:44:10 -0500

yumex-dnf is history. It is replaced by dnfdragora.

dnfdragora-gui is history as well, renamed to dnfdragora-updater.

I suggest to remove yumex-dnf and if dnfdragora-gui is installed, remove that as well.

dnf --noautoremove remove yumex-dnf

If it removes dnfdaemon you can let it do that. With --noautoremove I don't expect it would do that, though. It will be reinstalled if you install dnfdragora later.

dnfdragora-gui was never providing any gui stuff. Therefore it was renamed.

edit flag offensive delete link more


sudo dnf remove yumex-dnf does the job just fine. I wasn't sure (and not informed) about what *dnfdaemon* is/was and a bit afraid regular dnf may need it. But of course, after removing yumex-dnf, dnf system-upgrade should not complain anymore. Thanks for your help!

gobigobi66 gravatar imagegobigobi66 ( 2018-03-11 20:34:53 -0500 )edit

answered 2018-03-09 17:54:18 -0500

toddandmargo gravatar image

updated 2018-03-09 17:54:49 -0500

Here are my notes. There is some extra stuff it is to keep you out of trouble

FC 26 -->> FC 27:

# rpm --rebuilddb
# rpm -Va --nofiles --nodigest
  if anything is too new, do a 
        # dnf downgrade offender(s)

# dnf --enablerepo=* update --refresh
# dnf install python3-dnf-plugin-system-upgrade
# dnf system-upgrade download --refresh --releasever=27 --allowerasing
# dnf clean packages         <-- optional
# dnf system-upgrade reboot

Let us know if this doesn't help

edit flag offensive delete link more


I am far from being experienced with GNU Linux/Fedora, but I know enough to judge that some of those lines are a bad idea:

dnf --enablerepo=* update would update packages from testing repositories - that is for sure not what I want. Why make a system potentially unstable before upgrading.

dnf clean packages will remove downloaded packages before I invoke the actual upgrade process. That makes no sense to me.

gobigobi66 gravatar imagegobigobi66 ( 2018-03-11 20:31:35 -0500 )edit

Question Tools

1 follower


Asked: 2018-03-09 14:58:17 -0500

Seen: 808 times

Last updated: Mar 09 '18