apt-get install libx11-dev Reading package lists... Done Building dependency tree... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libgtk2.0-dev: Depends: libglib2.0-dev (>= 2.4.1-2) but it is not going to be installed Depends: libpango1.0-dev (>= 1.4.0-3) but it is not going to be installed Depends: libatk1.0-dev (>= 1.6.1-2) but it is not going to be installed Depends: libxext-dev but it is not going to be installed or xlibs-dev but it is not going to be installed libx11-dev: Depends: libx11-6 (= 6.8.2.dfsg.1-10) but 4.3.0.dfsg.1-14 is to be installed Depends: libxext-dev but it is not going to be installed Depends: libxi-dev but it is not going to be installed Depends: x-dev but it is not going to be installed Depends: libxkbfile-dev but it is not going to be installed