31

This process keeps hogging my bandwidth:

  1. What does this process do?
  2. Is it safe to kill it?
  3. Is is safe to remove the package as a whole( to prevent it from starting up ever again)
  4. Or should I just prevent it from automatically running in the background again?

I am running Fedora 23.

3
  • Welcome to U&L. Please use a Search Engine to find out what it is first: freedesktop.org/software/PackageKit/pk-intro.html
    – Kevdog777
    Commented Apr 29, 2016 at 13:54
  • 1
    So it basically runs sudo dnf update in the background? Is there any way to disable the same? Because I like to have control on the updates.
    – ThorX2
    Commented Apr 29, 2016 at 13:56
  • 1
    Is it a frontend to dnf, or a completely independent package update system? Does it cache in a separate folder? Commented Aug 7, 2016 at 17:15

2 Answers 2

28

PackageKit is being run by GNOME Software. It's not doing automatic updates, but it is downloading them so they're ready. There is work on making this be smarter, including not doing it over bandwidth-constrained connections, but it hasn't landed yet. In the meantime, you can disable this by running:

dconf write /org/gnome/software/download-updates false

or by using the GUI dconf editor and unchecking the download-updates box under org > gnome > software:

dconf editor gui

Note that this is per-user. For changing the default for everyone, see the GNOME docs.

4
  • 3
    I use dnf on the terminal to update my package. Is packagekitd redundant? Do they "cache" their packages on the same location, or if I use one can I stop using the other? Commented Aug 7, 2016 at 17:14
  • 2
    @ThatBrazilianGuy packagekitd is an unnecessary resource hog and is redundant if one uses dnf. It is one those things invented to make the UX better and not make the user think about updates and such, but it ends up frustrating the user.
    – ksinkar
    Commented Mar 27, 2022 at 3:43
  • Can someone elaborate on how packagekitd is redundant if dnf is there? Does dnf automatically update GNOME software?
    – Cheetaiean
    Commented Apr 16, 2022 at 19:42
  • @Cheetaiean It can automatically update rpm-based gnome software. I think a lot of folks do it by hand periodically as a habit, rather than automatically. You'll also need to run flatpak update from the command line if you use those.
    – mattdm
    Commented Apr 18, 2022 at 14:51
5
  • Kernel : GNU/Linux
  • ProductName: Fedora
  • ProductVersion: 35

Shutting Down PackageKitD for Fedora >=34

dconf write /org/gnome/software/download-updates false
sudo systemctl stop packagekit.service
sudo systemctl disable packagekit.service

Side Effects

I used the above instructions to shut down packagekitd permanently and conserve CPU, RAM and Network usage. My laptop fan went demonstrably silent after I shut down packagekitd.

Removing PackageKit

Despite disabling the packagekit.service there is a possibility that the service somehow restarts itself. It is better to uninstall packagekit using the following command

dnf remove -y PackageKit

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .