Azure / nxtools

Azure Automanage Machine Configuration Linux DSC resources
Other
13 stars 11 forks source link

Fix nxPackage not handling status deinstall #51

Closed gurrajatwal closed 7 months ago

gurrajatwal commented 7 months ago

Pull Request (PR) description

nxPackage is not handling the case where a package has status deinstall. It considers a package to be installed if it has status deinstall. I made a temporary fix to address this issue and consider deinstall to be uninstalled.

More information on what deinstall means: https://manpages.ubuntu.com/manpages/noble/en/man1/dpkg.1.html deinstall: The package is selected for deinstallation (i.e. we want to remove all files, except configuration files)

This Pull Request (PR) fixes the following issues

Task list

eehret commented 7 months ago

@gurrajatwal Thank you!

If it's not too much trouble, could you kindly publish a new version of nxtools to PowerShell gallery whenever you feel it is ready for us to try the latest fixes?

gurrajatwal commented 7 months ago

@eehret A new version should be published today. Thank you for your active engagement and patience!