I have one package not fully installed because it just hung up within installation process.
I have been trying to remove it , purge it or reinstall it and it always hung.
I put it in hold status but every time when I tried to upgrade any packages it is going to try to install this not fully installed package and of course - hang. So I had/have to always kill this process and run dpkg --configure -a (package) manually ... etc. to install the rest of the packages.
Is there any way how to get rid of of not fully installed package which is not possible to install/reinstall/purge ?
P.S. I am interested of solution in terminal.