F21 downloads repository metadata in 3 places!
hughsient at gmail.com
Tue Dec 16 21:29:31 UTC 2014
On 16 December 2014 at 20:09, Chris Murphy <lists at colorremedies.com> wrote:
> [root at 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:
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
More information about the devel