Ask Your Question
1

dnf vs. packagekit

asked 2015-11-04 10:56:45 -0500

nickm gravatar image

I'm a bit confused about software management in Fedora.

  1. dnf update and soon afterwards I got a notification about outstanding software updates. dnf update still didn't show any updates.

  2. Install any package from Gnome Software (which seems to use packagekit) or from the shell:

    [kp@nuc ~]$ pypy bash: pypy: command not found... Install package 'pypy' to provide command 'pypy'? [N/y] y

dnf autoremove removes pypy and dependent packages.

So, the question is: do dnf and packagekit communicate in any way? Why are there two concurrent package management systems?

edit retag flag offensive close merge delete

Comments

Try running dnf distro-sync

bodhi.zazen gravatar imagebodhi.zazen ( 2015-11-04 11:23:17 -0500 )edit
1

Right now, the package manager that you are mentioning do not share a common transaction database - meaning they don't know what packages the other manager installed/removed/... I recommend only using one of those (either dnf or Gnome Software) to avoid conflicts and confusion. Honestly, I recommend staying away from Gnome software for installation/removal purposes and just using it to search for stuff.

florian gravatar imageflorian ( 2015-11-04 22:23:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-04 11:28:11 -0500

" integration of Hawkey libraries and library which uses PK has already started. Sharing the history db within core library written in C used by DNF, PK and Gnome Software is part of long term plan." https://lists.fedoraproject.org/piper...

It's being worked on.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-04 10:56:45 -0500

Seen: 639 times

Last updated: Nov 04 '15