Sometimes server commands might fail and when examining your SSH logs you will see a message similar to the following:
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
To resolve this you need to log into your server with ssh.
Once logged in you can run the command shown in the logs:
sudo dpkg --configure -a
This will usually give you a prompt asking you to make a decision. One example of such a prompt is:
Usually you want to accept the default but if you have any questions just contact our support team and we’ll help you get the issue resolved.