dist-upgrade 在 libc6 上失败,因为“内核太旧”

xyi*_*ous 8 ubuntu upgrade ubuntu-14.04

在过去的几个小时里,我一直在尝试通过 SSH 将 ubuntu 服务器 14.04 升级到 16.04。服务器是托管的,我无法物理访问它。

一切顺利,直到它更新 libc6 并弹出带有错误和单个 OK 按钮的 curl,消息: Kernel version not supported This version of the GNU libc requires kernel version 3.2 or later. Older versions might work but are not officially supported. Please consider upgrading your kernel.

它不会继续。我尝试通过 手动安装新内核sudo apt-get install linux-generic-lts-xenial,但由于同样的原因也失败了。

xyi*_*ous 9

这并没有回答问题,但它解释了为什么没有答案。

问题在于,在这种情况下,“虚拟主机”是一个容器,它没有使用操作系统附带的内核,而是在托管容器的服务器上。我被告知我必须通过托管服务升级容器,这会带来额外的费用。最终得到了一个真正的虚拟服务器,所以我有更多的控制权。