Debian 核心升級問題

Debian 核心升級問題

我一直在嘗試更新核心(它是 OpenVZ VPS),但即使完成該過程,現在uname -r仍返回2.6.32-042stab132.1hostnamectl返回以下輸出:

Failed to query system properties: Message recipient disconnected from message bus without replying

所以我一直在做以下事情:

$ sudo apt-cache search linux-image
linux-headers-4.9.0-9-amd64 - Header files for Linux 4.9.0-9-amd64
linux-headers-4.9.0-9-rt-amd64 - Header files for Linux 4.9.0-9-rt-amd64
linux-image-4.9.0-9-amd64 - Linux 4.9 for 64-bit PCs
linux-image-4.9.0-9-amd64-dbg - Debug symbols for linux-image-4.9.0-9-amd64
linux-image-4.9.0-9-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-9-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-9-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
$
$ sudo apt-get install linux-image-4.9.0-9-amd64
$ reboot

由於這樣做沒有改變任何東西(hostnamectl返回舊內核版本的內核),我按照描述進行了操作這裡。這就導致了上述問題。

那麼,如何才能真正更新 OVZ VPS 實例中的核心呢?

相關內容