Skip to content

Conversation

0intro
Copy link
Contributor

@0intro 0intro commented Aug 18, 2025

This change handles virtual packages in dpkginfo probe by parsing the "Provides" field of /var/lib/dpkg/status.

Instead of relying on the "Package" field exclusively, this change also matches the requested package name with the package names listed in the "Provides" field.

It should allow to query virtual package names like "system-log-daemon" to actually installed packages likes "rsyslog" and so on.

See deb-control(5).

This PR is currently a work-in-progress.

This change handles virtual packages in dpkginfo probe
by parsing the "Provides" field of /var/lib/dpkg/status.

Instead of relying on the "Package" field exclusively,
this change also matches the requested package name with
the package names listed in the "Provides" field.

It should allow to query virtual package names like
"system-log-daemon" to actually installed packages
likes "rsyslog" and so on.

See deb-control(5).
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.

1 participant