Skip to content
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

Properly detect when DEB package is actually installed #551

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

bkabrda
Copy link
Contributor

@bkabrda bkabrda commented Feb 21, 2024

This fixes #519 - dpkg -s will return information even for a package that's been uninstalled. We can use a different query and ensure the package is actually installed while extracting the version.

@bkabrda bkabrda requested a review from a team as a code owner February 21, 2024 13:34
@bkabrda bkabrda force-pushed the slavek.kabrda/dpkg-detect-installed branch from 85deb9a to 5bfad3a Compare February 21, 2024 14:27
@bkabrda bkabrda merged commit eb84d7c into main Feb 21, 2024
115 checks passed
@bkabrda bkabrda deleted the slavek.kabrda/dpkg-detect-installed branch February 21, 2024 14:50
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.

Install will not work if deb package was removed from apt prior
2 participants