Linux Mint 19.1에 amdgpupro 18.50 드라이버를 설치하는 중 오류가 발생했습니다.

Linux Mint 19.1에 amdgpupro 18.50 드라이버를 설치하는 중 오류가 발생했습니다.

이전에 amd-gpu-pro를 설치한 후 Ubuntu의 장작이 Mint에 설치되지 않아 잘못된 OS에 대한 오류가 발생하는 문제를 해결했습니다. 이 질문으로 이해가 되었습니다. amd-gpu-pro 설치에서 Launcher의 OS 검사를 Ubuntu에서 LinuxMint로 변경했습니다. 이 작업을 수행한 후 다운로드는 정상적으로 이루어지지만 문제는 다음과 같습니다. 드라이버를 설치할 때 오류가 발생합니다.

    Errors occurred while processing the following packages:
     /tmp/apt-dpkg-install-1aU6FT/00-amdgpu-core_18.50-756341_all.deb 
     E: Sub-process /usr/bin/dpkg returned an error code (1)

다시 설치하려고 하면 다음 메시지가 나타납니다.

mesa-amdgpu-vdpau-drivers: Depends: amdgpu-core but it will not be installed
 wsa-amdgpu: Depends: amdgpu-core but it will not be installed
 wsa-amdgpu: i386: Depends: amdgpu-core: i386
 xserver-xorg-amdgpu-video-amdgpu: Depends: amdgpu-core but it will not be installed
E: Unmet dependencies. Try running “apt --fix-broken install” without specifying the package name, (or find another solution).

을 실행하면 sudo apt-get --fix-broken install처음 설치할 때와 동일한 결과를 얻습니다.

Errors occurred while processing the following packages:
 /var/opt/amdgpu-pro-local/./amdgpu-core_18.50-756341_all.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)

이 문제를 해결하는 방법?

답변1

포럼 중 하나에서 솔루션을 찾았습니다. 먼저 시냅틱 관리자에서 모든 amd 패키지를 지워야 합니다. 다음 단계: 다음 명령으로 엽니다.xed admin:///etc/os-release

NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic

3행의 linuxmint라는 단어를 ubuntu로 변경하고, 6행의 숫자 19를 18.04로 변경합니다. 설치 후에는 이를 다시 변경할 수 있습니다. amdgpu-pro-install 스크립트를 편집할 필요가 없습니다. 명령 사용./amdgpu-pro-install

관련 정보