New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering misleading appstream components #42
Comments
|
This is impossible to do at cache creation time, because:
This actually looks like a PackageKit bug, if you resolve something invalid we should tell you that, but still send back all the other results that resolved correctly. |
|
Isn't the whole point of having a cache that the software center can focus on leveraging it rather than having to proof it? I agree that:
It can be implemented in the software center as well for sure, but it goes against the principle of having this intermediate cache. If PackageKit is too slow, we can allow a way to ask the package manager directly. |
|
Patches welcome for that - it's much more complex than you think ;-) This would basically mean that I need to replicate parts of PackageKit, with backends for different distributions, which I would rather like to avoid.
If I would add PackageKit resolve support to ascli, then Frontends don't have all of these issues, because they only need to resolve what the user can see, which is way faster with PackageKit. |
|
Why do you need to refresh the database every time you un/install something? |
|
I was thinking local packages there specifically, and also thought about caching version numbers / the installed state. If that isn't in the cache, you would need to call PK anyway in the client again, which makes this really wasteful, since the first resolve done for the cache rebuild isn't really useful if you have to resolve again in the client anyway. |
This reverts commit 8cc7eab. Reverted because distributions can't seem to be able to make sure that the appstream db is correct, and so can't appstream itself. https://bugs.archlinux.org/task/49439 ximion/appstream#42
I stumbled upon this issue:
https://bugs.archlinux.org/task/49439
In addition to the fact that packagekit::resolve(pkgids) fails if 1 package is missing (with alpm at least), I have discover failing on ArchLinux.
Would it be possible to filter those out at appstreamcli refresh time?
The text was updated successfully, but these errors were encountered: