I'm on Debian 8 (stable) (Linux zenbook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux) and tried to apt-get update && apt-get upgrade yesterday. There was an upgrade for mysql-server-5.5 to 5.5.44-0+deb8u1, with which apt-get is having problems since then. The program hangs on Setting up mysql-server-5.5.I then tried to purge the package and install it again, but with the same result. I don't know what else I can try. Suggestions?$ sudo apt-get install mysql-serverReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following extra packages will be installed:  mysql-server-5.5Suggested packages:  tinycaThe following NEW packages will be installed:  mysql-server mysql-server-5.50 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Need to get 0 B/2,088 kB of archives.After this operation, 32.6 MB of additional disk space will be used.Do you want to continue? [Y/n] Preconfiguring packages ...Selecting previously unselected package mysql-server-5.5.(Reading database ... 308703 files and directories currently installed.)Preparing to unpack .../mysql-server-5.5_5.5.44-0+deb8u1_amd64.deb ...Unpacking mysql-server-5.5 (5.5.44-0+deb8u1) ...Selecting previously unselected package mysql-server.Preparing to unpack .../mysql-server_5.5.44-0+deb8u1_all.deb ...Unpacking mysql-server (5.5.44-0+deb8u1) ...Processing triggers for systemd (215-17+deb8u1) ...Processing triggers for man-db (2.7.0.2-5) ...Setting up mysql-server-5.5 (5.5.44-0+deb8u1) ...
Apt-get hangs on Setting up mysql-server-5.5 (5.5.44-0+deb8u1)
debian;apt;mysql;upgrade
This was very odd. Two hours ago I left my computer with apt-get still running. I just came back to see that setting up had finally finished. Before, I had waited maybe 15-30 minutes, so this is certainly not normal. But now I can purge the package and reinstall it within seconds. So, the solution to this seems to simply be wait. It works itself out in the end.