I'm new to Linux, but I'm really interested in learning it and using it as my main development platform. I'm running into trouble, though, installing a library I use in my projects.
Whenever I try to install SFML with sudo apt-get install libsfml-dev
I end up with an error:
The following packages have unmet dependencies:
libsfml-dev : Depends: libgl1-mesa-dev but it is not going to be installed or
libgl-dev
E: Unable to correct problems, you have held broken packages.
And if I try to sudo apt-get install libgl1-mesa-dev
I get:
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: libgl1-mesa-glx (= 12.0.3-1ubuntu2) but 12.0.6-0ubuntu0.16.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.`
Like I said, I'm new to Linux and have more or less no idea what I'm doing here. Any help would be greatly appreciated.
Thanks!
sudo apt update
, thensudo apt full-upgrade
, after that try again – George Udosen Feb 28 '17 at 05:20sudo apt full-upgrade
did it! Thanks so much! – Leah Mar 03 '17 at 10:54