Skip to content

pkworker: drop the usage of ProvidesEnum #7

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

FakeShell
Copy link
Contributor

PkProvidesEnum was removed during the migration from 0.8.x to 0.9.x of packagekit this is what the porting document for backends has to say about PkProvidesEnum:

  • Remove the PkProvidesEnum parameter from pk_backend_what_provides() -- all provides should be done as if ANY is specified.

so this should not be needed anymore (and in fact makes PackageKit worker never initialize and always skip to AptWorker)

PkProvidesEnum was removed during the migration from 0.8.x to 0.9.x of packagekit
this is what the porting document for backends has to say about PkProvidesEnum:
* Remove the PkProvidesEnum parameter from pk_backend_what_provides() -- all
  provides should be done as if ANY is specified.

so this should not be needed anymore (and in fact makes PackageKit worker never initialize and always skip to AptWorker)

Signed-off-by: Bardia Moshiri <[email protected]>
@mtwebster mtwebster merged commit 2e913be into linuxmint:master Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants