Page 1 of 1

libsdl1.2-dev won't install

Posted: Sat Apr 28, 2018 8:54 pm
by TheCoder3156
I need help installing libsdl1.2-dev. When I try to install with apt-get I get the following error message


[email protected]:~ $ sudo apt-get install libsdl1.2-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:
libsdl1.2-dev : Depends: libsdl1.2debian (= 1.2.15+dfsg1-4) but 1.2.15+dfsg1-6rpi is to be installed
E: Unable to correct problems, you have held broken packages.

I have done a apt-get update and no luck. Is the package broken or something?

Thanks

Re: libsdl1.2-dev won't install

Posted: Sun Apr 29, 2018 6:11 am
by KLL
just for info: here i see it is installed??
dpkg -l libsdl1.2debian
ii libsdl1.2debian:armhf 1.2.15+dfsg1-4 armhf Simple DirectMedia Layer

Re: libsdl1.2-dev won't install

Posted: Sun Apr 29, 2018 7:20 am
by fruitoftheloom
TheCoder3156 wrote:
Sat Apr 28, 2018 8:54 pm
I need help installing libsdl1.2-dev. When I try to install with apt-get I get the following error message


[email protected]:~ $ sudo apt-get install libsdl1.2-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:
libsdl1.2-dev : Depends: libsdl1.2debian (= 1.2.15+dfsg1-4) but 1.2.15+dfsg1-6rpi is to be installed
E: Unable to correct problems, you have held broken packages.

I have done a apt-get update and no luck. Is the package broken or something?

Thanks

What Raspbian release are you running ??

Re: libsdl1.2-dev won't install

Posted: Sun Apr 29, 2018 1:38 pm
by TheCoder3156
It should be stretch. How can I find out to be sure?

Re: libsdl1.2-dev won't install

Posted: Sun Apr 29, 2018 1:55 pm
by TheCoder3156
Never mind it is stretch. I did the stupid thing by purging libsdl1.2debian already on the system then installed the dev version. I also had to reinstall things it removed to like Minecraft pi and vlc