It gives the error
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I tired to sudo dpkg --configure -a after that and
it gets stuck at Setting up install-info (6.5.0.dfsg.1-2) ...
and does'nt proceed please help.