[packagekit] [PATCH] SQLite Package-Cache for PackageKit
Matthias Klumpp
matthias at tenstral.net
Mon May 28 13:05:09 PDT 2012
Hi!
No, I want all available packages for the cache ;-)
BUT to implement a basic software-center, only GUI packages will be
enough. I don't have many ideas how to make the cache faster (but I'll
ask some people), if this doesn't work, I'll make it just fetch GUI
packages, as this will be enough for now.
Thanks for reviewing!
Matthias
P.S: That "failed to find" thing shouldn't happen (and doesn't happen
with Aptcc) - I'll look into it :)
2012/5/28 Richard Hughes <hughsient at gmail.com>:
> On 25 May 2012 19:40, Matthias Klumpp <matthias at tenstral.net> wrote:
>> The problem is that running GetDetails() is incredibly slow right now
>> on most backends, so Refresh() calls will take minutes. This could be
>> avoided by adding a new backend method to return all packages and
>> their details, so backends can do optimizations internally.
>
> Right, the patch works for me, but it's super sloooooow. I'm also
> getting a *lot* of:
>
> 16:59:32 PkPlugin failed to find
> gstreamer-debuginfo;0.10.36-1.fc17;x86_64;installed
>
>> pk_backend_get_packages (plugin->backend, PK_FILTER_ENUM_NONE);
>
> Surely you want at least an installed filter there, and perhaps even a
> ~devel or even ~gui there too.
>
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
More information about the PackageKit
mailing list