amdgpu-pro falha ao instalar em 16.04

1

Eu fiz o upgrade de 15.10 para 16.04 hoje (yeah, estou atrasado: - /) e tentei instalar o driver amdgpu-pro. Mas depois que eu baixei e extrai os arquivos, quando eu corro amdgpu-pro-install eu recebo o seguinte erro (s):

$amdgpu-pro-driver/amdgpu-pro-install
[sudo] password for MYUSER: 
deb file:/var/opt/amdgpu-pro/ ./
Get:1 file:/var/opt/amdgpu-pro ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro ./ InRelease
Get:2 file:/var/opt/amdgpu-pro ./ Release
Ign:2 file:/var/opt/amdgpu-pro ./ Release
Get:3 file:/var/opt/amdgpu-pro ./ Packages
Ign:3 file:/var/opt/amdgpu-pro ./ Packages
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:3 file:/var/opt/amdgpu-pro ./ Packages
Ign:3 file:/var/opt/amdgpu-pro ./ Packages
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:3 file:/var/opt/amdgpu-pro ./ Packages
Ign:3 file:/var/opt/amdgpu-pro ./ Packages
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:3 file:/var/opt/amdgpu-pro ./ Packages [6.987 B]
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Ign:4 file:/var/opt/amdgpu-pro ./ Translation-en_US
Get:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:5 file:/var/opt/amdgpu-pro ./ Translation-en
Ign:3 file:/var/opt/amdgpu-pro ./ Packages
Get:6 file:/var/opt/amdgpu-pro ./ Translation-de
Ign:6 file:/var/opt/amdgpu-pro ./ Translation-de
Get:3 file:/var/opt/amdgpu-pro ./ Packages
Ign:3 file:/var/opt/amdgpu-pro ./ Packages
Get:3 file:/var/opt/amdgpu-pro ./ Packages
Err:3 file:/var/opt/amdgpu-pro ./ Packages
  File not found - /var/opt/amdgpu-pro/./Packages (2: No such file or directory)
Hit:7 http://de.archive.ubuntu.com/ubuntu xenial InRelease
Hit:8 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
N: Can't drop privileges for downloading as file '/var/opt/amdgpu-pro/./InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
W: The repository 'file:/var/opt/amdgpu-pro ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch file:/var/opt/amdgpu-pro/./Packages  File not found - /var/opt/amdgpu-pro/./Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package amdgpu-pro
E: Unable to locate package amdgpu-pro-lib32
E: Unable to locate package amdgpu-pro-dkms

Eu diria que a AMD apenas estragou o repositório local, mas eu não estou muito familiarizado com isso.

Obrigado por qualquer ajuda!

Algumas informações do sistema (não acho que isso importe aqui):

Gráficos: Radeon R9380X

Kernel: 4.4.0-38

    
por karoshi 26.09.2016 / 23:45

2 respostas

0

Concordo e tive o mesmo erro com o Ubuntu 16.10 e com a versão 16.50-362463 do amdgpu.

Eu precisava alterar a última linha da função source_list () (na linha 69) de

echo ${dir}${etc}${sourceparts}/amdgpu-pro.list

para

echo ${dir}${etc}/${sourceparts}/amdgpu-pro.list

para superar esses erros.

    
por hexcoder 28.12.2016 / 14:55
1

Você pode tentar executar o instalador NÃO como root.

Portanto, não sudo -i nem nada.

Não sudo ./amdgpu-pro-install também.

Basta executar como usuário não privilegiado que pode usar o comando sudo. O script chamará o sudo para você, mas se você já estiver root, ele não poderá "descartar" os privilégios mais tarde. Buggy porque assume uma umask quando deveria definir um especificamente.

    
por RodneyB 25.08.2017 / 20:10