Bug 75327 - Hawkey backend should smartly share cache with dnf
Summary: Hawkey backend should smartly share cache with dnf
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 14:10 UTC by Elad Alfassa
Modified: 2018-08-21 15:53 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.