I tried to install a package with
sudo apt-get install [package], but most of the way through it froze (due to an incompatibility between the package and my system). I had to hard reboot my system. Now, whenever I try
purge, etc, I get the error
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
The issue is that the configuration is what broke, so
dpkg --configure -a freezes halfway through and forces me to reboot. Now, I'm stuck in a state I can't seem to get out of. Attempting
dpkg --configure -a freezes, but any other package-related commands tell me I need to run
dpkg --configure -a. How can I abort the installation/configuration of this package?
While I'm looking for generic answers, here's the specific issue that causes configure to fail. In case it matters,
dpkg --version gives