Ask Your Question
1

how to make packagekit use the same dnf metadata ?

asked 2016-04-16 02:20:25 -0500

ahmed.alamassi gravatar image

packagekit wastes my bandwidth by downloading separate metadata files I made a video to explain it better https://www.youtube.com/watch?v=JLckO...

metadata is the files that contain information about repositories. as you can see in the video I posted , the problem is that metadata files are downloaded twice.. one for dnf and one for packagekit. I have limited and slow internet connection . the repositories metadata is about 70 megabytes which is very pain full to download. the problem is that dnf and packagekit(gnome software-center) each one have I'ts own metadata , so the same metadata files are duplicated two times in two places /var/cache/PackageKit/ and /var/cache/dnf/ which wastes my internet bandwidth

in ubuntu gnome software center uses the same apt metadata , so I think the problem from fedora.

fedora 23 , gnome-software 3.18.3-1

edit retag flag offensive close merge delete

Comments

1

Impossible, They are differents projects... Packagekit works in many distributions linux; while dnf only works in Fedora, RedHat,Centos and derivates..

davidva gravatar imagedavidva ( 2016-04-17 03:09:58 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-04-16 02:48:46 -0500

genodeftest gravatar image

updated 2016-04-16 02:54:32 -0500

packagekit (with gnome-software) and dnf are using different formats for local storage. For now, the simple solution would be not using gnome-software but only dnf.

Long term solutions (making both use the same metadata) requires some coding work. There are plans to do so, but they are not yet implemented. You probably have to wait for that for 2+ releases of Fedora.

See: https://bugs.freedesktop.org/show_bug... https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

Comments

as stated here, one way to disable package-kit/gnome-software updates would be to call gsettings set org.gnome.software download-updates false

red gravatar imagered ( 2017-08-08 03:04:34 -0500 )edit
0

answered 2016-04-16 18:18:25 -0500

In Fedora Software based apps like yumex-dnf, yumex and Gnome software download different metadata compressed at different levels. The smallest and most compressed is yumex, its metadata is 20-27MB at most and you an look at file sizes directly and act on it as i too live on constrained internet bandwidth and saving it to do other things than downloading updates. So yumex is your best bet on living in a data plan budget and also it also provides constant reconnecting for interrupted download if internet is shaky which no other packagekit/cli has.

edit flag offensive delete link more

Comments

. thanks

ahmed.alamassi gravatar imageahmed.alamassi ( 2016-04-19 05:46:08 -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

Stats

Asked: 2016-04-16 02:20:25 -0500

Seen: 619 times

Last updated: Apr 16 '16