It's unclear to me why this package should have gotten into a state requiring reinstallation, and it's unlikely that we will have enough debugging information here to figure it out.
For recovering, the advice here applies: http://askubuntu.com/questions/148715/how-to-fix-package-is-in-a-very-bad-inconsistent- state-error in particular, sudo dpkg --remove --force-remove-reinstreq python- pyasn1; sudo apt-get install python-pyasn1 Your bug report also shows a dpkg crash due to an invalid free. This would be something we should also look at, but we would need a full symbolic backtrace to debug it. Is the crash reproducible for you? Can you install the apport package and trigger the crash, capturing the core to /var/crash so we can debug it? ** Changed in: dpkg (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626175 Title: dpkg crashes after apt-get upgrade got interrupted while upgrading "python-pyasn1" and it couldn't recovered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1626175/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
