On 16 December 2014 at 20:09, Chris Murphy <lists(a)colorremedies.com> wrote:
[root@localhost cache]# du -sh *
94M dnf
446M PackageKit
4.0K yum
I think you're overstating the amount of metadata for PK for two reasons:
1. This is for my current system, with a few repos installed:
67M /var/cache/PackageKit/hawkey
64M /var/cache/PackageKit/metadata
The first are the SAT databases which are generated automatically on
first run and not downloaded. 446M is a heck of a lot, so I'd be
interested to know if that's packages as well included there.
2. For F21, on first run we copy the contents of
/usr/share/PackageKit/metadata to /var/cache/metadata so the software
installer can launch instantly rather than waiting for ~100Mb of
metadata to download (the logic being, old metadata is better than no
metadata). We only do a cache refresh on explicit request (the refresh
button on the updates screen) or when the user is idle; and we do the
latter with idle bandwith and CPU.
I do agree it's a problem, and the librepo/PackageKit/hawkey team had
a meeting just today to discuss ways of sharing metadata. Tracker bug
here:
https://github.com/Tojaj/librepo/issues/36
Richard