我正在尝试在 debian 10 内核 4.19.0-13 上安装 amdgpu-pro,但出现以下错误:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up amdgpu-dkms (1:5.4.7.62-1084971) ...
Removing old amdgpu-5.4.7.62-1084971 DKMS files...
------------------------------
Deleting module version: 5.4.7.62-1084971
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-5.4.7.62-1084971 DKMS files...
Building for 4.19.0-13-amd64
Building for architecture amd64
Building initial module for 4.19.0-13-amd64
Error! Bad return status for module build on kernel: 4.19.0-13-amd64 (amd64)
Consult /var/lib/dkms/amdgpu/5.4.7.62-1084971/build/make.log for more information.
dpkg: error processing package amdgpu-dkms
adamluco@lucocc:~/a (--configure):
installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of amdgpu:
amdgpu depends on amdgpu-dkms (= 1:5.4.7.62-1084971); however:
Package amdgpu-dkms is not configured yet.
dpkg: error processing package amdgpu (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro:
amdgpu-pro depends on amdgpu (= 20.10-1084971); however:
Package amdgpu is not configured yet.
dpkg: error processing package amdgpu-pro (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-lib32:
amdgpu-pro-lib32 depends on amdgpu (= 20.10-1084971) | amdgpu-hwe (= 20.10-1084971); however:
Package amdgpu is not configured yet.
Package amdgpu-hwe is not installed.
amdgpu-pro-lib32 depends on amdgpu-pro (= 20.10-1084971) | amdgpu-pro-hwe (= 20.10-1084971); however:
Package amdgpu-pro is not configured yet.
Package amdgpu-pro-hwe is not installed.
dpkg: error processing package amdgpu-pro-lib32 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
amdgpu-dkms
amdgpu
amdgpu-pro
amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1)
尝试使用安装文件进行安装时出现相同的错误
我不确定如何解决 dpkg 错误
我不知道要在这篇文章中添加什么其他信息,以便堆栈溢出让我发布它,所以也许如果我继续写单词它会接受它