Yesterday it got stuck with an update for MySql. The mysql-apt-config didn't finish for ours so I had to shut down the machine in the end.
Today it suggested the same update again, but told me that I had to use dpkg --configure -a to fix the package first. When I do this it again hangs:
# sudo dpkg --configure -a
mysql-apt-config (0.3.3-1debian7) wird eingerichtet ..
Last line in german means roughly "[...] is getting prepared ...".
I've also tried to remove the mysql package with apt-get purge mysql - but this leads to the same result. It again hangs at the same step.
What can I do to fix this?