【求助】从beta版本升上来的,出现了依赖关系配置错误
Tofloor
poster avatar
学渣李小白
deepin
2020-08-28 04:20
Author
从beta版本系统更新到公测版本,发现软件安装不了,然后提示是依赖未配置,有劳各位大神解答这种问题应该怎么办
  1. $ sudo apt install -f
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
  6. 有 6 个软件包没有被完全安装或卸载。
  7. 解压缩后会消耗 0 B 的额外空间。
  8. 正在设置 deepin-anything-dkms (5.0.1-1-1) ...
  9. Removing old deepin-anything-0.0 DKMS files...

  10. ------------------------------
  11. Deleting module version: 0.0
  12. completely from the DKMS tree.
  13. ------------------------------
  14. Done.
  15. Loading new deepin-anything-0.0 DKMS files...
  16. Building for 5.4.50-amd64-desktop
  17. Building initial module for 5.4.50-amd64-desktop
  18. Error! Bad return status for module build on kernel: 5.4.50-amd64-desktop (x86_64)
  19. Consult /var/lib/dkms/deepin-anything/0.0/build/make.log for more information.
  20. dpkg: 处理软件包 deepin-anything-dkms (--configure)时出错:
  21. 已安装 deepin-anything-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
  22. dpkg: 依赖关系问题使得 dde-file-manager 的配置工作不能继续:
  23. dde-file-manager 依赖于 deepin-anything-dkms;然而:
  24.   软件包 deepin-anything-dkms 尚未配置。

  25. dpkg: 处理软件包 dde-file-manager (--configure)时出错:
  26. 依赖关系问题 - 仍未被配置
  27. 正在设置 huawei-wmi-dkms (2.0-1-1+eagle) ...
  28. Removing old huawei-wmi-1.0 DKMS files...

  29. ------------------------------
  30. Deleting module version: 1.0
  31. completely from the DKMS tree.
  32. ------------------------------
  33. Done.
  34. Loading new huawei-wmi-1.0 DKMS files...
  35. Building for 5.4.50-amd64-desktop
  36. Building initial module for 5.4.50-amd64-desktop
  37. Error! Bad return status for module build on kernel: 5.4.50-amd64-desktop (x86_64)
  38. Consult /var/lib/dkms/huawei-wmi/1.0/build/make.log for more information.
  39. dpkg: 处理软件包 huawei-wmi-dkms (--configure)时出错:
  40. 已安装 huawei-wmi-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
  41. 正在设置 bcmwl-kernel-source (6.30.223.271+bdcom-5uos) ...
  42. Removing old bcmwl-6.30.223.271+bdcom DKMS files...

  43. ------------------------------
  44. Deleting module version: 6.30.223.271+bdcom
  45. completely from the DKMS tree.
  46. ------------------------------
  47. Done.
  48. Loading new bcmwl-6.30.223.271+bdcom DKMS files...
  49. Building for 5.4.50-amd64-desktop
  50. Building for architecture x86_64
  51. Building initial module for 5.4.50-amd64-desktop
  52. Error! Bad return status for module build on kernel: 5.4.50-amd64-desktop (x86_64)
  53. Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
  54. dpkg: 处理软件包 bcmwl-kernel-source (--configure)时出错:
  55. 已安装 bcmwl-kernel-source 软件包 post-installation 脚本 子进程返回错误状态 10
  56. dpkg: 依赖关系问题使得 deepin-anything-server 的配置工作不能继续:
  57. deepin-anything-server 依赖于 deepin-anything-dkms;然而:
  58.   软件包 deepin-anything-dkms 尚未配置。

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

  64. dpkg: 处理软件包 dde (--configure)时出错:
  65. 依赖关系问题 - 仍未被配置
  66. 在处理时有错误发生:
  67. deepin-anything-dkms
  68. dde-file-manager
  69. huawei-wmi-dkms
  70. bcmwl-kernel-source
  71. deepin-anything-server
  72. dde
  73. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code

  1. $ sudo dpkg --configure deepin-anything-dkms
  2. 正在设置 deepin-anything-dkms (5.0.1-1-1) ...
  3. Removing old deepin-anything-0.0 DKMS files...

  4. ------------------------------
  5. Deleting module version: 0.0
  6. completely from the DKMS tree.
  7. ------------------------------
  8. Done.
  9. Loading new deepin-anything-0.0 DKMS files...
  10. Building for 5.4.50-amd64-desktop
  11. Building initial module for 5.4.50-amd64-desktop
  12. Error! Bad return status for module build on kernel: 5.4.50-amd64-desktop (x86_64)
  13. Consult /var/lib/dkms/deepin-anything/0.0/build/make.log for more information.
  14. dpkg: 处理软件包 deepin-anything-dkms (--configure)时出错:
  15. 已安装 deepin-anything-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
  16. 在处理时有错误发生:
  17. deepin-anything-dkms
Copy the Code



Reply Favorite View the author
All Replies
avatar
忘记、过去
deepin
2020-08-28 05:45
#1
奇怪了,看起来像是内核升级不完整一样啊,5.4.50 内核编译驱动模块一直在报错。

检查一下 linux-kernel-* 和 linux-header-* 里面 5.4.50 版本相关的几个安装完全没,不行的话 reinstall 一下。
Reply View the author