Bug 75327

Summary: Hawkey backend should smartly share cache with dnf
Product: PackageKit Reporter: Elad Alfassa <elad>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium CC: bkelly, nekohayo, SilverbackNet
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Elad Alfassa 2014-02-21 14:10:34 UTC
From email discussion:

Maybe read the dnf cache, check if the has of the files there is equal to the files we want to download, and then just copy it over

This makes it possible to conserve bandwidth (as dnf already has a timer to refresh the cache regularly), and that's important for people who have capped connections or pay-per-byte connections.
Comment 1 Jean-François Fortin Tam 2014-06-15 14:32:45 UTC
For the record: not just bandwidth (which is also important in terms of time, not just data transfer caps) but also size on disk.

My /home is separate from /, and / is kept a reasonable size (15 GB) but I frequently get warnings about / being nearly full because yum, dnf and packagekit triplicate the cache :)
Comment 2 Richard Hughes 2018-08-21 15:53:08 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.