首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >amdgpu-pro安装失败,现在出现依赖关系问题。

amdgpu-pro安装失败,现在出现依赖关系问题。
EN

Stack Overflow用户
提问于 2020-12-24 08:53:29
回答 1查看 8.5K关注 0票数 5

首先,请容忍我,因为我的英语还在进步。所以,昨天我试着用AMD 570在我的新安装的Pop操作系统上安装DaVinci解决方案16,但我遇到了一个与openCL相关的问题。所以,我做了一些研究,我发现了这样的命令:

sudo apt安装台面-opencl-icd

有一次,我这样做并启动了DaVinci --它在启动时崩溃了,错误是"DaVinci解析意外退出“。

我再次来到谷歌寻求帮助,我发现我需要安装amdgpu-pro驱动程序来获得我的gpu openCL支持,并且我遵循了以下说明:

代码语言:javascript
复制
* you need to edit the "amdgpu-pro-install"-file.

* Change the string "ubuntu" to debian or debianlinux or so.

* The string "ubuntu" you can find in function os_release()

* With Linux Mint i need to change it to "linuxmint" and installation will be fine

因此,我按照指示,现在它给了我这些错误:

代码语言:javascript
复制
Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
 amdgpu-pro-rocr-opencl
 amdgpu-pro
 amdgpu-pro-lib32

E: Sub-process /usr/bin/dpkg returned an error code (1)

现在我无法安装或卸载任何pkg或deb文件

代码语言:javascript
复制
-> sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up amdgpu-dkms (1:5.6.20.906316-1188099) ...
Removing old amdgpu-5.6.20.906316-1188099 DKMS files...

------------------------------
Deleting module version: 5.6.20.906316-1188099
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-5.6.20.906316-1188099 DKMS files...
Building for 5.8.0-7630-generic
Building for architecture amd64
Building initial module for 5.8.0-7630-generic
ERROR (dkms apport): kernel package linux-headers-5.8.0-7630-generic is not supported
Error! Bad return status for module build on kernel: 5.8.0-7630-generic (amd64)
Consult /var/lib/dkms/amdgpu/5.6.20.906316-1188099/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
dpkg: dependency problems prevent configuration of amdgpu:
 amdgpu depends on amdgpu-dkms (= 1:5.6.20.906316-1188099); 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-rocr-opencl:
 amdgpu-pro-rocr-opencl depends on amdgpu-dkms (= 1:5.6.20.906316-1188099); however:
  Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu-pro-rocr-opencl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro:
 amdgpu-pro depends on amdgpu (= 20.45-1188099); 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.45-1188099) | amdgpu-hwe (= 20.45-1188099No apport report written because the error message indicates it's a follow-up error from a previous failure.
   No apport report written because the error message indicates it's a follow-up error from a previous failure.
                 No apport report written because MaxReports has already been reached
                                                                                     No apport report written because MaxReports has already been reached
                                                           ); however:
  Package amdgpu is not configured yet.
  Package amdgpu-hwe is not installed.
 amdgpu-pro-lib32 depends on amdgpu-pro (= 20.45-1188099) | amdgpu-pro-hwe (= 20.45-1188099); 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-rocr-opencl
 amdgpu-pro
 amdgpu-pro-lib32

E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Stack Overflow用户

发布于 2021-02-17 15:15:33

您应该能够通过运行/usr/bin/ amdgpu(-pro) -uninstall脚本卸载amdgpu(-uninstall)驱动程序。

您是否尝试按照建议的这里安装具有不同内核的amdgpu驱动程序?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65436040

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档