Não consigo instalar o sdl porque ele tem dependências não atendidas

0

Minha entrada é:

sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev

e a saída é:

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.

libsdl-image1.2-dev : Depends: libjpeg-dev
Depends: libtiff4-dev but it is not going to be installed

libsdl1.2-dev : Depends: libglu1-mesa-dev but it is not going to be installed

Depends: libpulse-dev but it is not going to be installed
Depends: libxt-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Como corrijo isso?

    
por rahman 04.12.2013 / 19:39

3 respostas

1

Tente este:

sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libpulse-dev libxt-dev

Se isso não funcionar, você pode usar o aptitude:

sudo apt-get install aptitude
sudo aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libpulse-dev libxt-dev
    
por Braiam 04.12.2013 / 19:55
0

Para corrigir dependências não atendidas, use sudo apt-get -f install .

    
por Richard 04.12.2013 / 19:47
0

Você pode ter que ativar o repositório "Código-fonte" no programa Software e Atualizações.

    
por Richard 04.12.2013 / 19:51