Ask Your Question

Can i safely erase PackageKit and Gnome Software? (F25/26)

asked 2017-07-04 05:20:03 -0500

David-LDA gravatar image


I only ever use DNF to install and update things. If I type:

sudo dnf erase PackageKit gnome-software

will i break Fedora 25 or 26 in ANY way?

I understand CNF relies on PackageKit, and gives suggestions on misspelled commands. Anything else?!


edit retag flag offensive close merge delete


DNF is the better option for managing packages in Fedora anyway. PackageKit just isn’t ready for prime time yet.

Aeyoun gravatar imageAeyoun ( 2017-07-04 05:36:21 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-07-04 05:32:25 -0500

Aeyoun gravatar image

updated 2017-07-04 05:34:56 -0500

dnf remove PackageKit wants to remove the following packages:

  • PackageKit
  • cockpit-packagekit (new in F26)
  • gnome-software
  • plasma-discover
  • +some libraries

If you consider these acceptable losses, then sure – go ahead. Note that you’ll also be asked to remove some meta-packages. You can safely remove metapackages. However, if the metapackages change in later releases, you’ll not automatically get those changes. You can write down which metapackages you’re asked to remove, and then do dnf install $metapackage after every major release to make sure you stay up to date with changes.

You can also just disable PackageKit’s systemd service, and ignore it.

edit flag offensive delete link more

answered 2017-07-04 15:52:18 -0500

florian gravatar image

updated 2017-07-04 15:53:21 -0500

I would not remove it, but just mask the service: systemctl mask PackageKit.service

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-04 05:20:03 -0500

Seen: 827 times

Last updated: Jul 04 '17