Re: F21 downloads repository metadata in 3 places!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 December 2014 at 20:09, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> 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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux