Instalando o mesa-opencl-icd no Ubuntu 16.04

2

Simplificando, esta biblioteca não será instalada usando esta desculpa:

$ sudo apt install mesa-opencl-icd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mesa-opencl-icd : Depends: libclc-r600 (>= 0.2.0+git20170330-3) but 0.2.0+git20170330-3~16.04.1 is to be installed
                   Depends: libclc-amdgcn (>= 0.2.0+git20170330-3) but 0.2.0+git20170330-3~16.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Note que pacotes relevantes podem ser instalados, mas com nomes ligeiramente diferentes. Solução possível aqui?

$ apt search libclc
Sorting... Done
Full Text Search... Done
libclc-amdgcn/xenial-updates,xenial-updates,now 0.2.0+git20170330-3~16.04.1 all [installed]
  OpenCL C language implementation - amdgcn support

libclc-dev/xenial-updates,xenial-updates,now 0.2.0+git20170330-3~16.04.1 all [installed,automatic]
  OpenCL C language implementation - development files

libclc-ptx/xenial-updates,xenial-updates,now 0.2.0+git20170330-3~16.04.1 all [installed]
  OpenCL C language implementation - ptx support

libclc-r600/xenial-updates,xenial-updates,now 0.2.0+git20170330-3~16.04.1 all [installed]
  OpenCL C language implementation - r600 support

Dependências não são satisfeitas, apesar de pacotes relevantes terem sido instalados manualmente. Outras perguntas semelhantes sugeriram fazer isso:

apt update; apt upgrade; apt autoremove; apt autoclean
apt -f install
aptitude -f install
apt-get download mesa-opencl-icd; dpkg -i <*.deb>
dpkg --get-selections | grep hold

Nem ajudou nem esclareceu a situação, então qualquer ajuda seria apreciada.

    
por ZuOverture 12.01.2018 / 19:16

1 resposta

2

Como sabemos, do erro do LaunchPad 1743018 , o bug será corrigido por Timo Aaltonen (tjaalton) fazendo o upload do pacote corrigido para xenial-proposed .

Hoje, pode-se instalar mesa-opencl-icd com:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe"
sudo apt-get update
sudo apt-get install mesa-opencl-icd -y

Posso confirmar que está instalando normalmente. Então o pacote será enviado para o normal -updates em breve.

    
por N0rbert 13.01.2018 / 17:12