I'm trying to regenerate certs for my instance on AWS through Docker-Machine as I do need to do it quite often for some reason. All of the sudden I'm getting this error after running docker-machine regenerate-certs [instance]
:
Error running "DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y curl": ssh command error:
command : DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y curl
err : exit status 100
output : E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Executing sudo dpkg --configure -a
won't make the problem go away.
Why I'm getting this all of the sudden and how can I troubleshoot it ?