Ask Your Question

dnf and packagekit metadata downloads - 25/Gnome

asked 2017-03-28 07:28:23 -0500

graceful gravatar image

updated 2017-03-28 07:29:53 -0500

I'd like to make some comments about how dnf and packagekit background downloads are being implemented. The first and most annoying is that these downloads hijack ALL available network bandwidth. I constantly have to wait for these downloads to finish before I can do ANY of MY work. Is there a way to turn this feature off until it can be recoded to throttle it's network demands? Second, I can't see and have no veto power over what's being downloaded. How do I know that a rootkit isn't being installed. Short answer: I don't. Third, when I go to power-off or retstart the OS, I now get a checkbox to "Install Pending Downloads." How do I know whether I want to or not, because I don't know what the pending downloads are???

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-03-28 16:51:18 -0500

MaoTao gravatar image

updated 2017-03-28 16:52:54 -0500

About the network bandwidth: If the issue here is that you are on a network with other devices and you don't want to take all the bandwidth (soho network), there are tools like "Wondershaper" which can be used to limit the bandwidth on your NIC.For example lets assume that your ISP provide you with 10Mbps download/1Mbps upload and you want to limit this to 1/3 for your system, then:

sudo dnf install wondershaper
sudo wondershaper enp2s0 300 3000

This actually means: apply bandwidth limit to eth0 30Kbps upload/300Kbps download

And with

sudo wondershaper clear enp2s0

You lift the bandwidth limit.

About the downloads and the security: it's preferable to use

sudo dnf update

It will check for updates from the enabled repositories on your system, list them, and prompt if you want to continue with instalment or not. You can choose to install them all, or install specific ones, or even before do that to check each package with

dnf info <package>
rpm -qi <package>

Also remember that dnf has built in gpg key verification.

Finally, if you really are concerned about rootkits, you can find plenty of software in Fedora's Security Lab.

edit flag offensive delete link more


Thank you for the reply,

These answers are very useful and informative; however regarding the bandwidth issue, I would like to limit the bandwidth used by dnf and gnome-packagekit; not the system overall. I want to continue my work on the network, while these are being downloaded.

Also, I use sudo dnf update all the time; however there appears to be no way to turn automatic update off in fc25/Gnome. What I really need is the ability to turn automatic updates off, until automatic updates can be throttled not to take all available bandwidth on my pc; not the home lan.

graceful gravatar imagegraceful ( 2017-03-28 19:45:32 -0500 )edit

Take a look at the documentation of dnf.conf. I think you can set a parameter to limit bandwidth for dnf, without the need to limit the bandwidth for the entire network interface.

florian gravatar imageflorian ( 2017-03-28 23:41:11 -0500 )edit

If you use dnf to update your system and install packages (recommended!) then just complete disable PackageKit by masking the service. (This site has a description in an answer somewhere. Hopefully the search returns it)

florian gravatar imageflorian ( 2017-03-28 23:43:10 -0500 )edit

answered 2017-03-28 08:58:59 -0500

SteveEbey73701 gravatar image

Then turn off updates in the system control center, and use cli to do dnf update, at your discretion. I run cinnamon desktop, so not sure where the auto update is in Gnome.

edit flag offensive delete link more


In yumex-dnf, this is called gnome-packagekit. This appears to be deprecated, since there are no options to adjust or turn off automatic updates.

graceful gravatar imagegraceful ( 2017-03-28 12:55:28 -0500 )edit

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


Asked: 2017-03-28 07:28:23 -0500

Seen: 135 times

Last updated: Mar 28 '17