【已解决】升级5.8内核报错,怎么办?

70-HD3:~$ sudo dpkg -i *.deb
(正在读取数据库 … 系统当前共安装有 197853 个文件和目录。)
准备解压 linux-headers-5.8.0-050800_5.8.0-050800.202008022230_all.deb …
正在解压 linux-headers-5.8.0-050800 (5.8.0-050800.202008022230) 并覆盖 (5.8.0-050800.202008022230) …
准备解压 linux-headers-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb …
正在解压 linux-headers-5.8.0-050800-generic (5.8.0-050800.202008022230) 并覆盖 (5.8.0-050800.202008022230) …
准备解压 linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb …
正在解压 linux-image-unsigned-5.8.0-050800-generic (5.8.0-050800.202008022230) 并覆盖 (5.8.0-050800.202008022230) …
/var/lib/dpkg/info/linux-image-unsigned-5.8.0-050800-generic.postrm … removing pending trigger
准备解压 linux-modules-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb …
正在解压 linux-modules-5.8.0-050800-generic (5.8.0-050800.202008022230) 并覆盖 (5.8.0-050800.202008022230) …
正在设置 linux-headers-5.8.0-050800 (5.8.0-050800.202008022230) …
正在设置 linux-headers-5.8.0-050800-generic (5.8.0-050800.202008022230) …
/etc/kernel/header_postinst.d/dkms:

  • dkms: running auto installation service for kernel 5.8.0-050800-generic
    Error! Could not locate dkms.conf file.
    File: /var/lib/dkms/sgx/1.41/source/dkms.conf does not exist.
    …fail!
    run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
    dpkg: 处理软件包 linux-headers-5.8.0-050800-generic (–install)时出错:
    已安装 linux-headers-5.8.0-050800-generic 软件包 post-installation 脚本 子进程返回错误状态 1
    正在设置 linux-modules-5.8.0-050800-generic (5.8.0-050800.202008022230) …
    正在设置 linux-image-unsigned-5.8.0-050800-generic (5.8.0-050800.202008022230) …
    正在处理用于 linux-image-unsigned-5.8.0-050800-generic (5.8.0-050800.202008022230) 的触发器 …
    /etc/kernel/postinst.d/dkms:
  • dkms: running auto installation service for kernel 5.8.0-050800-generic
    Error! Could not locate dkms.conf file.
    File: /var/lib/dkms/sgx/1.41/source/dkms.conf does not exist.
    …fail!
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
    dpkg: 处理软件包 linux-image-unsigned-5.8.0-050800-generic (–install)时出错:
    已安装 linux-image-unsigned-5.8.0-050800-generic 软件包 post-installation 脚本 子进程返回错误状态 1
    在处理时有错误发生:
    linux-headers-5.8.0-050800-generic
    linux-image-unsigned-5.8.0-050800-generic

Q:Ubuntu 5.11 kernel内核问题导致的dcap安装不成功?降级,升级都不好使?!

A:那么建议你建议拔网线安装:ubuntu-20.04.2.0-desktop-amd64 或者 server版本!
下载地址:Index of /releases/focal

此话题已在最后回复的 2 小时后被自动关闭。不再允许新回复。