我在 Dell Latitude E7250 上运行 Debian 9。这是 64 位 i5 CPU。
今天早上我刚跑步apt-get dist-upgrade
。它继续通过 linux-image-3.16.0-4-amd64_3.16.43-2+deb8u5_amd64 包更新我的映像。在此过程中,我收到以下错误:
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
然后更新继续并完成,没有提示我输入。当我重新启动时,我的系统会自行大便吗?如果是这样,我该怎么办?
完整输出如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
virtualbox-5.1
The following packages will be upgraded:
heroku linux-image-3.16.0-4-amd64
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 48.5 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://cli-assets.heroku.com/branches/stable/apt ./ heroku 6.14.25-1 [14.6 MB]
Get:2 http://security-cdn.debian.org jessie/updates/main amd64 linux-image-3.16.0-4-amd64 amd64 3.16.43-2+deb8u5 [34.0 MB]
Fetched 48.5 MB in 1s (48.3 MB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 309446 files and directories currently installed.)
Preparing to unpack .../linux-image-3.16.0-4-amd64_3.16.43-2+deb8u5_amd64.deb ...
Unpacking linux-image-3.16.0-4-amd64 (3.16.43-2+deb8u5) over (3.16.43-2+deb8u3) ...
Preparing to unpack .../heroku_6.14.25-1_amd64.deb ...
Unpacking heroku (6.14.25-1) over (6.14.24-1) ...
Setting up heroku (6.14.25-1) ...
Setting up linux-image-3.16.0-4-amd64 (3.16.43-2+deb8u5) ...
/etc/kernel/postinst.d/dkms:
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Adding boot menu entry for EFI firmware configuration
done
答案1
Debian 9 使用4.9.0-3-amd64
该版本的内核,因此我认为重新启动时不会出现问题。然而,如果你这样做了。
- 从中删除旧内核
/boot/
update-initramfs -c -v
现在您将启动到 Debian 9,内核版本为4.9.0-3-amd64
.