2 error/s reported. The latest 2 error/s are shared in detail. To view all errors, review this log file on the machine: /var/log/azure/Microsoft.CPlat.Core.LinuxPatchExtension/23.core.log Operation status was marked as failed because: [X] a failure occurred during the operation Package manager on machine is not healthy. To fix, please run: sudo dpkg --configure -a
sudo dpkg --configure -a
dpkg: error processing package mdatp (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
mdatp
sudo dpkg --remove --force-remove-reinstreq --force-dep ends mdatp
sudo apt install mdatp