Search code examples
linuxopenglfreeglutlinux-mint

Can't install freeglut3-dev package linuxmint?


I tried to install freeglut package to work with #opengl
I installed freeglut3 package but i got this error when trying to install freeglut3-dev package

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:
freeglut3-dev : Depends: libgl1-mesa-dev or
                          libgl-dev
             Depends: libglu1-mesa-dev but it is not going to be    installed or
                      libglu-dev
             Depends: libxt-dev but it is not going to be installed
             Depends: libxext-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

The information of my system

Linux version 3.14.0-031400rc4-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201402232235 SMP Mon Feb 24 03:36:35 UTC 2014


Solution

  • I solved my problem by disabling some Personal Package Archives ('PPAs').
    It may contain some broken packages! I disable the following PPA's:

    deb-src http://ppa.launchpad.net/thopiekar/pygame/ubuntu raring main
    deb http://ppa.launchpad.net/thopiekar/pygame/ubuntu raring main