![libc6 升级问题](https://linux22.com/image/992127/libc6%20%E5%8D%87%E7%BA%A7%E9%97%AE%E9%A2%98.png)
运行 14.04.4 LTS。当我远程安装时,apt-get upgrade 会悄无声息地崩溃,我已将其隔离到 libc6 包中。从我的 shell...
# apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libc-dev-bin libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-dev-bin libc6 libc6-dev
3 upgraded, 0 newly installed, 0 to remove and 140 not upgraded.
Need to get 6,696 kB of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1,910 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6 amd64 2.19-0ubuntu6.9 [4,717 kB]
Fetched 6,696 kB in 0s (7,991 kB/s)
Preconfiguring packages ...
(Reading database ... 106509 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Preparing to unpack .../libc6_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6:amd64 (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libc6:amd64 (2.19-0ubuntu6.9) ...
Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
#
这里一切看起来都很好,但是我可以说,在控制台上我看到了这一点,无论我输入什么,它都会发送垃圾邮件。
General error mounting file systems.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and reboot the system.
Give root password for maintenance (or type Control-D to continue):
如果我按 Control-D,它会重新启动并持续存在。如果我在控制台上快速输入 root 密码,我会得到一个 shell,但随后它会发出垃圾邮件,键盘变得无响应,然后我就会注销。否则系统从远程 shell 看起来“正常”。我犹豫是否继续使用当前状态下的系统,我可以恢复到快照,但我担心这是来自 apt 更新和升级——我有十几个类似的系统,它们都有相同的需要升级的软件包。
另外,如果我从控制台运行更新/升级,它会在完成时立即发生,并且每次按下按键时都会发送错误和维护模式消息。