root@consul-a-2404:~# stat /etc/datadog-agent/datadog.yaml
stat: cannot statx '/etc/datadog-agent/datadog.yaml': No such file or directory
root@consul-a-2404:~# dpkg --remove --force-remove-reinstreq datadog-agent || true
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database ... 83527 files and directories currently installed.)
Removing datadog-agent (1:6.53.0-1) ...
root@consul-a-2404:~# apt-get -y --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
Description