• Home »
  • Errors »
  • xorg-dev: Depends: libxfont-dev but it is not going to be installed

xorg-dev: Depends: libxfont-dev but it is not going to be installed

While getting a Mimo 7″ touchscreen USB monitor working earlier I needed to install some packages however when attempting to do so I received an error. Initially I thought that I had broken something on a system I had just installed BackTrack Linux on however that was not the case. Below I describe the error received in more detail as well as how to resolve the issue.

Error Installing xorg-dev On Backtrack Linux:

root@bt:~/xorg.conf.d# apt-get install linux-headers-$(uname -r) xorg-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:
  xorg-dev: Depends: libxfont-dev but it is not going to be installed
E: Broken packages
root@bt:~/xorg.conf.d#

The issue ended up being that I had recently upgraded however I did not update after upgrading so some of the repository URL’s were now incorrect and apt-get could not find the dependencies that sere preferred. To resolve the error issue the below command and then install xorg-dev again.

Resolve Error Received While Attempting To Install xorg-dev On Backtrack Linux:

root@bt:~/xorg.conf.d# apt-get update
Hit http://all.repository.backtrack-linux.org revolution Release.gpg
Ign http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Get:1 http://updates.repository.backtrack-linux.org revolution Release.gpg [197B]
Ign http://updates.repository.backtrack-linux.org/ revolution/main Translation-en_US
Hit http://64.repository.backtrack-linux.org revolution Release.gpg
Ign http://updates.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Ign http://64.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://64.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Hit http://all.repository.backtrack-linux.org revolution Release
Ign http://64.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://64.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Hit http://64.repository.backtrack-linux.org revolution Release
Ign http://updates.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://updates.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Get:2 http://updates.repository.backtrack-linux.org revolution Release [13.5kB]
Hit http://all.repository.backtrack-linux.org revolution/main Packages
Hit http://64.repository.backtrack-linux.org revolution/main Packages
Get:3 http://updates.repository.backtrack-linux.org revolution/main Packages [10.7MB]
Hit http://all.repository.backtrack-linux.org revolution/microverse Packages
Hit http://all.repository.backtrack-linux.org revolution/non-free Packages
Hit http://all.repository.backtrack-linux.org revolution/testing Packages
Hit http://64.repository.backtrack-linux.org revolution/microverse Packages
Hit http://64.repository.backtrack-linux.org revolution/non-free Packages
Hit http://64.repository.backtrack-linux.org revolution/testing Packages
Get:4 http://updates.repository.backtrack-linux.org revolution/microverse Packages [14B]
Get:5 http://updates.repository.backtrack-linux.org revolution/non-free Packages [14B]
Get:6 http://updates.repository.backtrack-linux.org revolution/testing Packages [14B]
Fetched 10.7MB in 21s (504kB/s)
Reading package lists... Done
root@bt:~/xorg.conf.d#

Now that the repo URL’s are updated attempt to install xorg-dev again which should now be successful as shown below.

Install xorg-dev On Backtrack Linux:

root@bt:~/xorg.conf.d# apt-get install linux-headers-$(uname -r) xorg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libdmx-dev libdmx1 libfontenc-dev libfs-dev libpciaccess-dev libpixman-1-dev libxaw7-dev libxcomposite-dev libxdamage-dev libxfont-dev libxi-dev libxinerama-dev
  libxkbfile-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxres-dev libxss-dev libxtst-dev libxv-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev x11proto-bigreqs-dev
  x11proto-composite-dev x11proto-damage-dev x11proto-dmx-dev x11proto-dri2-dev x11proto-fonts-dev x11proto-gl-dev x11proto-record-dev x11proto-resource-dev
  x11proto-scrnsaver-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xf86bigfont-dev x11proto-xf86dga-dev x11proto-xf86dri-dev x11proto-xf86vidmode-dev
  x11proto-xinerama-dev xserver-xorg-dev
The following NEW packages will be installed:
  libdmx-dev libdmx1 libfontenc-dev libfs-dev libpciaccess-dev libpixman-1-dev libxaw7-dev libxcomposite-dev libxdamage-dev libxfont-dev libxi-dev libxinerama-dev
  libxkbfile-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxres-dev libxss-dev libxtst-dev libxv-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev linux-headers-3.2.6
  x11proto-bigreqs-dev x11proto-composite-dev x11proto-damage-dev x11proto-dmx-dev x11proto-dri2-dev x11proto-fonts-dev x11proto-gl-dev x11proto-record-dev
  x11proto-resource-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xf86bigfont-dev x11proto-xf86dga-dev x11proto-xf86dri-dev
  x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-dev xserver-xorg-dev
0 upgraded, 44 newly installed, 0 to remove and 54 not upgraded.
Need to get 10.6MB of archives.
After this operation, 67.5MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://all.repository.backtrack-linux.org/ revolution/main x11proto-fonts-dev 2.1.0-1 [12.2kB]
Get:2 http://64.repository.backtrack-linux.org/ revolution/main libfontenc-dev 1:1.0.5-1 [22.6kB]
Get:3 http://updates.repository.backtrack-linux.org/ revolution/main libxfont-dev 1:1.4.1-1ubuntu0.1 [203kB]
Get:4 http://all.repository.backtrack-linux.org/ revolution/main libxmu-headers 2:1.0.5-1 [22.7kB]
Get:5 http://all.repository.backtrack-linux.org/ revolution/main x11proto-composite-dev 1:0.4.1-1 [13.3kB]
Get:6 http://64.repository.backtrack-linux.org/ revolution/main libfs-dev 2:1.0.2-1build1 [37.9kB]
Get:7 http://all.repository.backtrack-linux.org/ revolution/main x11proto-resource-dev 1.1.0-1 [4,106B]
Get:8 http://all.repository.backtrack-linux.org/ revolution/main x11proto-dri2-dev 2.2-1 [14.6kB]
Get:9 http://all.repository.backtrack-linux.org/ revolution/main x11proto-dmx-dev 1:2.3-2 [5,688B]
Get:10 http://64.repository.backtrack-linux.org/ revolution/main libxmu-dev 2:1.0.5-1 [66.5kB]
Get:11 http://all.repository.backtrack-linux.org/ revolution/main x11proto-damage-dev 1:1.2.0-1 [10.2kB]
Get:12 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xinerama-dev 1.2-2 [4,782B]
Get:13 http://all.repository.backtrack-linux.org/ revolution/main x11proto-scrnsaver-dev 1.2.0-2 [4,856B]
Get:14 http://all.repository.backtrack-linux.org/ revolution/main x11proto-record-dev 1.14-2 [5,590B]
Get:15 http://all.repository.backtrack-linux.org/ revolution/main x11proto-video-dev 2.3.0-1 [9,878B]
Get:16 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xf86dga-dev 2.1-2 [10.7kB]
Get:17 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xf86vidmode-dev 2.3-2 [5,938B]
Get:18 http://all.repository.backtrack-linux.org/ revolution/main x11proto-bigreqs-dev 1:1.1.0-1 [3,772B]
Get:19 http://all.repository.backtrack-linux.org/ revolution/main x11proto-gl-dev 1.4.11-1 [24.8kB]
Get:20 http://64.repository.backtrack-linux.org/ revolution/main libxpm-dev 1:3.5.8-1 [102kB]
Get:21 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xcmisc-dev 1.2.0-1 [3,914B]
Get:22 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xf86bigfont-dev 1.2.0-2 [4,646B]
Get:23 http://all.repository.backtrack-linux.org/ revolution/main x11proto-xf86dri-dev 2.1.0-1 [5,442B]
Get:24 http://64.repository.backtrack-linux.org/ revolution/main libxaw7-dev 2:1.0.7-1 [610kB]
Get:25 http://updates.repository.backtrack-linux.org/ revolution/main xserver-xorg-dev 2:1.7.6-2ubuntu7.11 [1,227kB]
Get:26 http://64.repository.backtrack-linux.org/ revolution/main libxcomposite-dev 1:0.4.1-1 [16.1kB]
Get:27 http://64.repository.backtrack-linux.org/ revolution/main libxres-dev 2:1.0.4-1 [13.3kB]
Get:28 http://64.repository.backtrack-linux.org/ revolution/main libdmx1 1:1.1.0-2 [10.2kB]
Get:29 http://64.repository.backtrack-linux.org/ revolution/main libdmx-dev 1:1.1.0-2 [36.9kB]
Get:30 http://64.repository.backtrack-linux.org/ revolution/main libpciaccess-dev 0.11.0-1 [42.2kB]
Get:31 http://64.repository.backtrack-linux.org/ revolution/main libpixman-1-dev 0.16.4-1ubuntu2 [264kB]
Get:32 http://64.repository.backtrack-linux.org/ revolution/main libxdamage-dev 1:1.1.2-1 [11.9kB]
Get:33 http://64.repository.backtrack-linux.org/ revolution/main libxi-dev 2:1.3-3 [139kB]
Get:34 http://64.repository.backtrack-linux.org/ revolution/main libxinerama-dev 2:1.1-2 [14.9kB]
Get:35 http://64.repository.backtrack-linux.org/ revolution/main libxkbfile-dev 1:1.0.6-1 [94.6kB]
Get:36 http://64.repository.backtrack-linux.org/ revolution/main libxmuu-dev 2:1.0.5-1 [15.0kB]
Get:37 http://64.repository.backtrack-linux.org/ revolution/main libxss-dev 1:1.2.0-2 [19.9kB]
Get:38 http://64.repository.backtrack-linux.org/ revolution/main libxtst-dev 2:1.1.0-2 [24.9kB]
Get:39 http://64.repository.backtrack-linux.org/ revolution/main libxv-dev 2:1.0.5-1 [42.7kB]
Get:40 http://64.repository.backtrack-linux.org/ revolution/main libxvmc-dev 2:1.0.5-1ubuntu1 [30.4kB]
Get:41 http://64.repository.backtrack-linux.org/ revolution/main libxxf86dga-dev 2:1.1.1-2 [24.7kB]
Get:42 http://64.repository.backtrack-linux.org/ revolution/main libxxf86vm-dev 1:1.1.0-2 [21.6kB]
Get:43 http://64.repository.backtrack-linux.org/ revolution/testing linux-headers-3.2.6 3.2.6-10.00.Custom [7,372kB]
Get:44 http://updates.repository.backtrack-linux.org/ revolution/main xorg-dev 1:7.5+5ubuntu1.1 [1,310B]
Fetched 10.6MB in 18s (583kB/s)
Extracting templates from packages: 100%
Selecting previously deselected package libfontenc-dev.
(Reading database ... 237213 files and directories currently installed.)
Unpacking libfontenc-dev (from .../libfontenc-dev_1%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package x11proto-fonts-dev.
Unpacking x11proto-fonts-dev (from .../x11proto-fonts-dev_2.1.0-1_all.deb) ...
Selecting previously deselected package libfs-dev.
Unpacking libfs-dev (from .../libfs-dev_2%3a1.0.2-1build1_amd64.deb) ...
Selecting previously deselected package libxmu-headers.
Unpacking libxmu-headers (from .../libxmu-headers_2%3a1.0.5-1_all.deb) ...
Selecting previously deselected package libxmu-dev.
Unpacking libxmu-dev (from .../libxmu-dev_2%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package libxpm-dev.
Unpacking libxpm-dev (from .../libxpm-dev_1%3a3.5.8-1_amd64.deb) ...
Selecting previously deselected package libxaw7-dev.
Unpacking libxaw7-dev (from .../libxaw7-dev_2%3a1.0.7-1_amd64.deb) ...
Selecting previously deselected package x11proto-composite-dev.
Unpacking x11proto-composite-dev (from .../x11proto-composite-dev_1%3a0.4.1-1_all.deb) ...
Selecting previously deselected package libxcomposite-dev.
Unpacking libxcomposite-dev (from .../libxcomposite-dev_1%3a0.4.1-1_amd64.deb) ...
Selecting previously deselected package libxfont-dev.
Unpacking libxfont-dev (from .../libxfont-dev_1%3a1.4.1-1ubuntu0.1_amd64.deb) ...
Selecting previously deselected package x11proto-resource-dev.
Unpacking x11proto-resource-dev (from .../x11proto-resource-dev_1.1.0-1_all.deb) ...
Selecting previously deselected package libxres-dev.
Unpacking libxres-dev (from .../libxres-dev_2%3a1.0.4-1_amd64.deb) ...
Selecting previously deselected package x11proto-dri2-dev.
Unpacking x11proto-dri2-dev (from .../x11proto-dri2-dev_2.2-1_all.deb) ...
Selecting previously deselected package libdmx1.
Unpacking libdmx1 (from .../libdmx1_1%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package x11proto-dmx-dev.
Unpacking x11proto-dmx-dev (from .../x11proto-dmx-dev_1%3a2.3-2_all.deb) ...
Selecting previously deselected package libdmx-dev.
Unpacking libdmx-dev (from .../libdmx-dev_1%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package libpciaccess-dev.
Unpacking libpciaccess-dev (from .../libpciaccess-dev_0.11.0-1_amd64.deb) ...
Selecting previously deselected package libpixman-1-dev.
Unpacking libpixman-1-dev (from .../libpixman-1-dev_0.16.4-1ubuntu2_amd64.deb) ...
Selecting previously deselected package x11proto-damage-dev.
Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.2.0-1_all.deb) ...
Selecting previously deselected package libxdamage-dev.
Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.2-1_amd64.deb) ...
Selecting previously deselected package libxi-dev.
Unpacking libxi-dev (from .../libxi-dev_2%3a1.3-3_amd64.deb) ...
Selecting previously deselected package x11proto-xinerama-dev.
Unpacking x11proto-xinerama-dev (from .../x11proto-xinerama-dev_1.2-2_all.deb) ...
Selecting previously deselected package libxinerama-dev.
Unpacking libxinerama-dev (from .../libxinerama-dev_2%3a1.1-2_amd64.deb) ...
Selecting previously deselected package libxkbfile-dev.
Unpacking libxkbfile-dev (from .../libxkbfile-dev_1%3a1.0.6-1_amd64.deb) ...
Selecting previously deselected package libxmuu-dev.
Unpacking libxmuu-dev (from .../libxmuu-dev_2%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package x11proto-scrnsaver-dev.
Unpacking x11proto-scrnsaver-dev (from .../x11proto-scrnsaver-dev_1.2.0-2_all.deb) ...
Selecting previously deselected package libxss-dev.
Unpacking libxss-dev (from .../libxss-dev_1%3a1.2.0-2_amd64.deb) ...
Selecting previously deselected package x11proto-record-dev.
Unpacking x11proto-record-dev (from .../x11proto-record-dev_1.14-2_all.deb) ...
Selecting previously deselected package libxtst-dev.
Unpacking libxtst-dev (from .../libxtst-dev_2%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package x11proto-video-dev.
Unpacking x11proto-video-dev (from .../x11proto-video-dev_2.3.0-1_all.deb) ...
Selecting previously deselected package libxv-dev.
Unpacking libxv-dev (from .../libxv-dev_2%3a1.0.5-1_amd64.deb) ...
Selecting previously deselected package libxvmc-dev.
Unpacking libxvmc-dev (from .../libxvmc-dev_2%3a1.0.5-1ubuntu1_amd64.deb) ...
Selecting previously deselected package x11proto-xf86dga-dev.
Unpacking x11proto-xf86dga-dev (from .../x11proto-xf86dga-dev_2.1-2_all.deb) ...
Selecting previously deselected package libxxf86dga-dev.
Unpacking libxxf86dga-dev (from .../libxxf86dga-dev_2%3a1.1.1-2_amd64.deb) ...
Selecting previously deselected package x11proto-xf86vidmode-dev.
Unpacking x11proto-xf86vidmode-dev (from .../x11proto-xf86vidmode-dev_2.3-2_all.deb) ...
Selecting previously deselected package libxxf86vm-dev.
Unpacking libxxf86vm-dev (from .../libxxf86vm-dev_1%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package linux-headers-3.2.6.
Unpacking linux-headers-3.2.6 (from .../linux-headers-3.2.6_3.2.6-10.00.Custom_amd64.deb) ...
Selecting previously deselected package x11proto-bigreqs-dev.
Unpacking x11proto-bigreqs-dev (from .../x11proto-bigreqs-dev_1%3a1.1.0-1_all.deb) ...
Selecting previously deselected package x11proto-gl-dev.
Unpacking x11proto-gl-dev (from .../x11proto-gl-dev_1.4.11-1_all.deb) ...
Selecting previously deselected package x11proto-xcmisc-dev.
Unpacking x11proto-xcmisc-dev (from .../x11proto-xcmisc-dev_1.2.0-1_all.deb) ...
Selecting previously deselected package x11proto-xf86bigfont-dev.
Unpacking x11proto-xf86bigfont-dev (from .../x11proto-xf86bigfont-dev_1.2.0-2_all.deb) ...
Selecting previously deselected package x11proto-xf86dri-dev.
Unpacking x11proto-xf86dri-dev (from .../x11proto-xf86dri-dev_2.1.0-1_all.deb) ...
Selecting previously deselected package xserver-xorg-dev.
Unpacking xserver-xorg-dev (from .../xserver-xorg-dev_2%3a1.7.6-2ubuntu7.11_amd64.deb) ...
Selecting previously deselected package xorg-dev.
Unpacking xorg-dev (from .../xorg-dev_1%3a7.5+5ubuntu1.1_all.deb) ...
Processing triggers for man-db ...
Setting up libfontenc-dev (1:1.0.5-1) ...
Setting up x11proto-fonts-dev (2.1.0-1) ...
Setting up libfs-dev (2:1.0.2-1build1) ...
Setting up libxmu-headers (2:1.0.5-1) ...
Setting up libxmu-dev (2:1.0.5-1) ...
Setting up libxpm-dev (1:3.5.8-1) ...
Setting up libxaw7-dev (2:1.0.7-1) ...
Setting up x11proto-composite-dev (1:0.4.1-1) ...
Setting up libxcomposite-dev (1:0.4.1-1) ...
Setting up libxfont-dev (1:1.4.1-1ubuntu0.1) ...
Setting up x11proto-resource-dev (1.1.0-1) ...
Setting up libxres-dev (2:1.0.4-1) ...
Setting up x11proto-dri2-dev (2.2-1) ...
Setting up libdmx1 (1:1.1.0-2) ...

Setting up x11proto-dmx-dev (1:2.3-2) ...
Setting up libdmx-dev (1:1.1.0-2) ...
Setting up libpciaccess-dev (0.11.0-1) ...
Setting up libpixman-1-dev (0.16.4-1ubuntu2) ...
Setting up x11proto-damage-dev (1:1.2.0-1) ...
Setting up libxdamage-dev (1:1.1.2-1) ...
Setting up libxi-dev (2:1.3-3) ...
Setting up x11proto-xinerama-dev (1.2-2) ...
Setting up libxinerama-dev (2:1.1-2) ...
Setting up libxkbfile-dev (1:1.0.6-1) ...
Setting up libxmuu-dev (2:1.0.5-1) ...
Setting up x11proto-scrnsaver-dev (1.2.0-2) ...
Setting up libxss-dev (1:1.2.0-2) ...
Setting up x11proto-record-dev (1.14-2) ...
Setting up libxtst-dev (2:1.1.0-2) ...
Setting up x11proto-video-dev (2.3.0-1) ...
Setting up libxv-dev (2:1.0.5-1) ...
Setting up libxvmc-dev (2:1.0.5-1ubuntu1) ...
Setting up x11proto-xf86dga-dev (2.1-2) ...
Setting up libxxf86dga-dev (2:1.1.1-2) ...
Setting up x11proto-xf86vidmode-dev (2.3-2) ...
Setting up libxxf86vm-dev (1:1.1.0-2) ...
Setting up linux-headers-3.2.6 (3.2.6-10.00.Custom) ...
Examining /etc/kernel/header_postinst.d.

Setting up x11proto-bigreqs-dev (1:1.1.0-1) ...
Setting up x11proto-gl-dev (1.4.11-1) ...
Setting up x11proto-xcmisc-dev (1.2.0-1) ...
Setting up x11proto-xf86bigfont-dev (1.2.0-2) ...
Setting up x11proto-xf86dri-dev (2.1.0-1) ...
Setting up xserver-xorg-dev (2:1.7.6-2ubuntu7.11) ...
Setting up xorg-dev (1:7.5+5ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@bt:~/xorg.conf.d#

Now xorg-dev is installed and you can proceed with your previous tasks.

Metasploit: The Penetration Tester's Guide (Paperback)

By (author): David Kennedy, Jim O'Gorman, Devon Kearns, Mati Aharoni


List Price: $49.95 USD
New From: $25.97 USD In Stock
Used from: $27.47 USD In Stock


List Price: $29.95 USD
New From: $45.00 USD In Stock
Used from: $32.42 USD In Stock

Share