dist-upgrade在libc6上失败,因为“kernel too old”

我已经尝试过几个小时,通过SSH升级ubuntu服务器14.04到16.04。 服务器托pipe,我没有物理访问它。

直到它更新libc6并popupcurl错误和单个确定button,消息: 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. 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手动安装新内核,这也是出于同样原因失败的原因。

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

问题是在这种情况下,“虚拟主机”是一个容器,它没有使用随操作系统一起提供的内核,而是在托pipe容器的服务器上。 我被告知,我将不得不通过托pipe服务升级集装箱,这将带来额外的成本。 最终得到一个真正的虚拟服务器,所以我有更多的控制权。

你有几个解决scheme:

  • 手动编译一个新的内核并使用它。
  • 升级步骤较小(15,16)
  • 在chroot中安装xenial,并将内核+模块复制到主机rootfs