Je suis passé de 15h10 à 16h04 aujourd'hui (ouais je suis en retard: - /) et j'ai essayé d'installer le pilote amdgpu-pro. Mais après avoir téléchargé et extrait les fichiers, lorsque je lance amdgpu-pro-install
, le ou les erreurs suivantes apparaissent:
$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
Je suppose que AMD vient de foirer le dépôt local, mais je ne le connais pas trop.
Merci pour toute aide!
Quelques informations sur le système (je ne pense pas que cela compte ici):
Graphisme: Radeon R9380X
Noyau: 4.4.0-38
Je suis d'accord et j'ai eu la même erreur avec Ubuntu 16.10 et amdgpu version 16.50-362463.
Je devais changer la dernière ligne de la fonction source_list () (à la ligne 69) de
echo ${dir}${etc}${sourceparts}/amdgpu-pro.list
à
echo ${dir}${etc}/${sourceparts}/amdgpu-pro.list
pour surmonter ces erreurs.
Vous pouvez essayer d’exécuter le programme d’installation PAS en tant que root.
Alors, ne faites pas Sudo -i ou quoi que ce soit.
Ne pas Sudo ./amdgpu-pro-install non plus.
Il suffit d’exécuter en tant qu’utilisateur non privilégié pouvant utiliser la commande Sudo. Le script appellera Sudo pour vous, mais si vous êtes déjà root, il ne pourra pas "supprimer" les privilèges plus tard. Buggy parce qu'il suppose un umask alors qu'il devrait en définir un spécifiquement.