无法安装 amdgpu 驱动程序

无法安装 amdgpu 驱动程序

我一直在尝试安装 amdgpu(AMD 图形驱动程序),我成功安装了一次,但无法登录,我不得不卸载它。现在,我再次尝试安装它;这次我收到以下错误:-

user@Chris:~/Downloads/amdgpu-pro-18.20-606296$ sudo ./amdgpu-pro-install –y
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:6 http://mirror.isoc.org.il/pub/ubuntu xenial InRelease
Hit:8 http://mirror.isoc.org.il/pub/ubuntu xenial-updates InRelease
Hit:9 http://mirror.isoc.org.il/pub/ubuntu xenial-backports InRelease
Hit:10 http://mirror.isoc.org.il/pub/ubuntu xenial-security InRelease
Reading package lists... Done                     
Package: *amdgpu*
Pin: release o=AMD
Pin: version *-606296
Pin-Priority: 1000

Package: *amdgpu*:i386
Pin: release o=AMD
Pin: version *-606296
Pin-Priority: 1000

E: Invalid operation –y

答案1

您似乎正在遵循以下说明:https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx

该命令包含一个微妙的拼写错误(unicode 短划线写错了,应该是连字符),这将影响到复制/粘贴该命令的任何人。复制/粘贴以下更正后的命令:

sudo ./amdgpu-pro-install -y

我已向他们报告了这个问题。

相关内容