Dpkg Error “Dpkg Was Interrupted” and Solution
This is a small post about dpkg error. Dpkg is tool used to manage package installation, removing, update of distributions like Debian, Ubuntu. Actually dpkg can be used distributions like Fedora, CentOS, RedHat but their default package manager is rpm.
Here is the problem while install package with apt-get or dpkg directly the operation it interrupted. After trying again to install a package we get an error like “dpkg was interrupted, you must manually run”
This error can be caused by different problems.
We need to repair dpkg package database in order to resume
apt-get update operation. We can run dpkg to reconfigure package database like below and correct the problem. We will provide
-a option to the
dpkg command like below. This command will regenerate package database and fix errors.
$ sudo dpkg --configure -a
The interrupted package installation with dpkg is completed with success.