Os seguintes pacotes possuem dependências não atendidas: libpulse-dev

1

Ok, então estou tentando criar a partir do código-fonte e para isso eu preciso instalar suas dependências.

Então, uma das dependências é a seguinte:

karl@karl-ux303ln:~/dev/RBDOOM-3-BFG/neo(master)$ sudo apt-get install libsdl2-dev
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.
 libsdl2-dev : Depends: libpulse-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Por isso, verifico libpulse-dev :

The following packages have unmet dependencies.
 libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11.1) but 1:4.0-0ubuntu11.1+kxstudio1 is to be installed
                Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11.1) but 1:4.0-0ubuntu11.1+kxstudio1 is to be installed
E: Unable to correct problems, you have held broken packages.

A partir daqui estou praticamente preso. Estou ciente de que o pulso é responsável pelo som, mas estou perdido em como corrigir esse problema.

Eu também tentei de tudo que essa resposta tinha a oferecer: link

    
por Karl Morrison 30.07.2017 / 11:09

1 resposta

1

Ok, então o sufixo foi o culpado, o +kxstudio1 é específico.

karl@karl-ux303ln:~/dev/RBDOOM-3-BFG/neo(master)$ apt-cache policy libpulse0
libpulse0:
  Installed: 1:4.0-0ubuntu11.1+kxstudio1
  Candidate: 1:4.0-0ubuntu11.1+kxstudio1
  Version table:
 *** 1:4.0-0ubuntu11.1+kxstudio1 0
        100 /var/lib/dpkg/status
     1:4.0-0ubuntu11.1 0
        500 http://se.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     1:4.0-0ubuntu11 0
        500 http://se.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Instale o listado em trusty:

sudo apt-get install libpulse0=1:4.0-0ubuntu11.1

Faça o mesmo com libpulse-mainloop-glib0 .

Agora funciona para instalar os outros pacotes! : D

Estou usando KXStudio , quando a instalação deve ter mudado os pacotes com pacotes personalizados.

    
por Karl Morrison 30.07.2017 / 11:33