amdgpu 드라이버가 데비안 APT를 깨뜨립니다.

amdgpu 드라이버가 데비안 APT를 깨뜨립니다.

APT를 사용하려고 할 때마다 다음 오류가 발생합니다.

The following packages have unmet dependencies:
 clinfo-amdgpu-pro : Depends: ocl-icd-libopencl1-amdgpu-pro but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

시도하면 sudo apt --fix-broken install다음이 제공됩니다.

Unpacking ocl-icd-libopencl1-amdgpu-pro:amd64 (21.40.1-1337803) ...
dpkg: error processing archive /var/cache/apt/archives/ocl-icd-libopencl1-amdgpu
-pro_21.40.1-1337803_amd64.deb (--unpack):
 trying to overwrite '/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1', whic
h is also in package libopencl1-amdgpu-pro:amd64 17.40-492261
Errors were encountered while processing:
 /var/cache/apt/archives/ocl-icd-libopencl1-amdgpu-pro_21.40.1-1337803_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

답변1

다음 명령을 사용해 보십시오:

sudo dpkg --purge ocl-icd-libopencl1-amdgpu-pro

관련 정보