我在使用提供商内核的专用服务器上运行了 apt-dist 升级,出现以下错误:
MTL ➜ ~ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
ovhkernel-4.9-xxxx-std-ipv6-image
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/10.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 61164 files and directories currently installed.)
Preparing to unpack .../ovhkernel-4.9-xxxx-std-ipv6-image_4.9.159-599550_amd64.deb ...
Unpacking ovhkernel-4.9-xxxx-std-ipv6-image (4.9.159-599550) over (4.9.158-590910) ...
Setting up ovhkernel-4.9-xxxx-std-ipv6-image (4.9.159-599550) ...
update-initramfs: Generating /boot/initrd.img-4.9.159-xxxx-std-ipv6-64
WARNING: missing /lib/modules/4.9.159-xxxx-std-ipv6-64
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.9.159-xxxx-std-ipv6-64: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_SUPVlB/lib/modules/4.9.159-xxxx-std-ipv6-64/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_SUPVlB/lib/modules/4.9.159-xxxx-std-ipv6-64/modules.builtin: No such file or directory
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.159-xxxx-std-ipv6-64
Found initrd image: /boot/initrd.img-4.9.159-xxxx-std-ipv6-64
Adding boot menu entry for EFI firmware configuration
我担心这可能会导致机器无法再启动,但我发现 grub 配置文件已创建并安装。有什么可担心的吗?我无法理解,因为我有另一台专用服务器,配置完全相同,提供商也相同,而且没有任何问题。