AMDGPU 驱动程序安装失败后安装任何内容时出现问题

AMDGPU 驱动程序安装失败后安装任何内容时出现问题

自从从 AMD 网站安装 AMD GPU 驱动程序失败以来,我遇到了一些问题。

我运行了 AMDGPU-PRO-INSTALL 脚本,但出现错误并失败(我目前无法重现此问题)

我使用了以下页面中的堆栈。

https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-20

现在,每次我尝试使用 apt install 安装程序时,都会显示以下内容。

andrew@andrew-Lenovo-IdeaPad-C340-14API:~$ sudo apt-get install p7zip-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
p7zip-full is already the newest version (16.02+dfsg-7build1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 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.6.0.15-1098277) ...
Removing old amdgpu-5.6.0.15-1098277 DKMS files...

------------------------------
Deleting module version: 5.6.0.15-1098277
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-5.6.0.15-1098277 DKMS files...
Building for 5.4.0-58-generic
Building for architecture x86_64
Building initial module for 5.4.0-58-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 5.4.0-58-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.6.0.15-1098277/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
 installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 amdgpu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

我对 Linux 不是很熟悉,不知道这里发生了什么,有人可以帮我解决这个问题吗?

谢谢!

相关内容