debian – Apt-get挂起“设置mysql-server-5.5(5.5.44-0 deb8u1)”

我在Debian 8(稳定版)(Linux zenbook 3.16.0-4-amd64#1 SMP Debian 3.16.7-ckt11-1(2015-05-24)x86_64 GNU / Linux)并尝试了apt-get update& ;&安培;昨天apt-get升级. mysql-server-5.5升级到5.5.44-0 deb8u1,从那时起apt-get就遇到了问题.程序挂起在设置mysql-server-5.5上.

然后我尝试清除包并再次安装,但结果相同.我不知道还能尝试什么.建议?

$sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  mysql-server-5.5
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server mysql-server-5.5
0 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仍在运行.我刚回来看到设置终于结束了.以前,我等了大概15-30分钟,所以这肯定不正常.但现在我可以清除包装并在几秒钟内重新安装.

因此,对此的解决方案似乎只是“等待”.它最终会自行解决.

上一篇:Linux MySQL 5.7二进制 小版本升级


下一篇:elasticsearch 搜索体系搭建