[Kernel/Drive] 有没有人懂这是什么问题啊,独显驱动问题
Tofloor
poster avatar
redbrother
deepin
2021-10-14 02:58
Author

 

deepin@deepin-PC:~$ sudo apt-get dist-upgrade 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 7 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 deepin-anything-dkms (5.0.10-1) ...
Removing old deepin-anything-0.0 DKMS files...

-------- Uninstall Beginning --------
Module:  deepin-anything
Version: 0.0
Kernel:  5.12.18-amd64-desktop (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vfs_monitor.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.12.18-amd64-desktop/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.0
completely from the DKMS tree.
------------------------------
Done.
Loading new deepin-anything-0.0 DKMS files...
Building for 5.12.18-amd64-desktop 5.13.13-amd64-desktop
Building initial module for 5.12.18-amd64-desktop
Done.

vfs_monitor.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.12.18-amd64-desktop/updates//

depmod...

DKMS: install completed.
Building initial module for 5.13.13-amd64-desktop
Error! Bad return status for module build on kernel: 5.13.13-amd64-desktop (x86_64)
Consult /var/lib/dkms/deepin-anything/0.0/build/make.log for more information.
dpkg: 处理软件包 deepin-anything-dkms (--configure)时出错:
 已安装 deepin-anything-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
dpkg: 依赖关系问题使得 dde-file-manager 的配置工作不能继续:
 dde-file-manager 依赖于 deepin-anything-dkms;然而:
  软件包 deepin-anything-dkms 尚未配置。

dpkg: 处理软件包 dde-file-manager (--configure)时出错:
 依赖关系问题 - 仍未被配置
正在设置 nvidia-kernel-dkms (460.91.03-1) ...
Removing old nvidia-current-460.91.03 DKMS files...

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 460.91.03
Kernel:  5.12.18-amd64-desktop (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.12.18-amd64-desktop/updates/dkms/
rmdir: 删除 'updates/dkms' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.12.18-amd64-desktop/updates/dkms/
rmdir: 删除 'updates/dkms' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.12.18-amd64-desktop/updates/dkms/
rmdir: 删除 'updates/dkms' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.12.18-amd64-desktop/updates/dkms/
rmdir: 删除目录 'updates' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 460.91.03
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-460.91.03 DKMS files...
Building for 5.12.18-amd64-desktop 5.13.13-amd64-desktop
Building initial module for 5.12.18-amd64-desktop
Done.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.12.18-amd64-desktop/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.12.18-amd64-desktop/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.12.18-amd64-desktop/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.12.18-amd64-desktop/updates/dkms/

depmod...

DKMS: install completed.
Building initial module for 5.13.13-amd64-desktop
Error! Bad return status for module build on kernel: 5.13.13-amd64-desktop (x86_64)
Consult /var/lib/dkms/nvidia-current/460.91.03/build/make.log for more information.
dpkg: 处理软件包 nvidia-kernel-dkms (--configure)时出错:
 已安装 nvidia-kernel-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
dpkg: 依赖关系问题使得 nvidia-driver 的配置工作不能继续:
 nvidia-driver 依赖于 nvidia-kernel-dkms (= 460.91.03-1) | nvidia-kernel-460.91.03;然而:
  软件包 nvidia-kernel-dkms 尚未配置。
  未安装软件包 nvidia-kernel-460.91.03。
  软件包 nvidia-kernel-dkms 提供了 nvidia-kernel-460.91.03,但它尚未被配置。

dpkg: 处理软件包 nvidia-driver (--configure)时出错:
 依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 deepin-anything-server 的配置工作不能继续:
 deepin-anything-server 依赖于 deepin-anything-dkms;然而:
  软件包 deepin-anything-dkms 尚未配置。

dpkg: 处理软件包 deepin-anything-server (--configure)时出错:
 依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 dde 的配置工作不能继续:
 dde 依赖于 dde-file-manager;然而:
  软件包 dde-file-manager 尚未配置。

dpkg: 处理软件包 dde (--configure)时出错:
 依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 dde-grand-search 的配置工作不能继续:
 dde-grand-search 依赖于 deepin-anything-server;然而:
  软件包 deepin-anything-server 尚未配置。

dpkg: 处理软件包 dde-grand-search (--configure)时出错:
 依赖关系问题 - 仍未被配置
在处理时有错误发生:
 deepin-anything-dkms
 dde-file-manager
 nvidia-kernel-dkms
 nvidia-driver
 deepin-anything-server
 dde
 dde-grand-search
E: Sub-process /usr/bin/dpkg returned an error code (1)

有没人会啊,新的内核加载不了独显驱动,用原来的旧内核勉强能进

 

Reply Favorite View the author
All Replies
widon1104
deepin
2021-10-14 03:30
#1

内核版本和英伟达显卡闭源驱动必须要匹配才行,太高版本的内核可能和你装的闭源驱动版本不匹配,所以安装失败

Reply View the author
安洛
deepin
2021-10-14 06:13
#2

内核版本不对。

Reply View the author
xiongweixp
deepin
2021-10-14 19:05
#3

20.2.4的5.13.13内核有 问题,所有dkms模块都无法编译,先不要用5.13.13内核,等官方升级5.14.10

Reply View the author
redbrother
deepin
2021-10-15 04:17
#4

感谢楼上的几位友友解答,已经将多余的内核和5.13.13卸载了,问题解决了,目前使用的5.12.18

Reply View the author