Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem -

This error message means that a previous package installation or upgrade was interrupted (e.g., by a power loss, terminal closure, or network issue), leaving the Debian package management system in an inconsistent state.

sudo reboot Then update and upgrade normally: This error message means that a previous package

sudo dpkg --audit Then research the specific package causing the failure (often cuda , docker , or kernel packages). You may need to purge that package manually. by a power loss