1

I can't install this package, it gives me an error, this is the output from terminal:

➜  ~  sudo apt-get install mesa-common-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:
mesa-common-dev : Depends: libdrm-dev (>= 2.4.52) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have tried apt-get -f install but nothing happend. Please Help, I need this for creating OpenGL apps

PlugaruT
  • 789
  • 2
  • 9
  • 13

1 Answers1

1

what tells you apt-cache policy libdrm-dev?

You must look these posts:

I guess you have some conflicting package repositories/ppa. Or you have to built it manually, but only if you are sure you need a package version not provided by public repositories)

Always look at: How do I resolve unmet dependencies after adding a PPA? Or try to install other version of the conflicting packages: How to install specific Ubuntu packages, with exact version?