I'm trying to install OpenGL/GLUT libraries but I always get this error. Can someone help me?
I tryed to install il using the command sudo apt-get install freeglut3-dev
The following packages have unmet dependencies:
freeglut3-dev : Depends: libgl1-mesa-dev but it is not going to be installed or
libgl-dev
Depends: libglu1-mesa-dev but it is not going to be installed or
libglu-dev
E: Unable to correct problems, you have held broken packages.
Update, I tried to solve installing sudo apt install libgl1-mesa-dev but I get
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: mesa-common-dev (= 11.2.0-1ubuntu2) but it is not going to be installed
Depends: libgl1-mesa-glx (= 11.2.0-1ubuntu2) but 11.2.0-1ubuntu2.2 is to be installed
Depends: libdrm-dev (>= 2.4.65) but it is not going to be installed
My fear is that this is a recursive problem, can I solve it in a simple way?
Update result of sudo apt install -f
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
0 Answers