Unlike some operating systems that might leave corrupt files lying around after a crash, Linux stops the assembly line. It forces you, the human operator, to acknowledge the mess and run the specific command designed to clean it up.
Fixed: "dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'" Unlike some operating systems that might leave corrupt
If your computer loses power, the terminal is closed prematurely, or another process kills the installation during the configuration phase, the package database is left in an "unclean" state. To prevent system corruption, Linux locks the package manager until that specific interrupted task is finished. The Primary Fix the human operator
Let's break it down: