It says :
The following packages have unmet dependencies:
mesa-common-dev :
Depends: libx11-dev but it is not going to be installed
Depends: libdrm-dev (>= 2.4.52) but it is not going to be installed
It says :
The following packages have unmet dependencies:
mesa-common-dev :
Depends: libx11-dev but it is not going to be installed
Depends: libdrm-dev (>= 2.4.52) but it is not going to be installed
This error occured because you are missing the packages required for installation of mesa-dev-common.
Open a new terminal session ( Ctrl + Alt + T ) and type the following command :
sudo apt-get install libx11-dev libdrm-dev
Try installing mesa-dev-common
now. It should work just fine.