[ubuntu] libgl1-mesa-dev broken dependency

Since upgrading to 8.10 (amd64) I have a problem with a broken package (libgl1-mesa-dev).
I tried to repair the dependency using apt-get -f install but then I get following error:

Code:

root@Foton:/home/hans# apt-get -f install
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libgl1-mesa-dev
The following packages will be upgraded:
  libgl1-mesa-dev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/29,8kB of archives.
After this operation, 8192B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 243142 files and directories currently installed.)
Preparing to replace libgl1-mesa-dev 7.0.3~rc2-1ubuntu3 (using .../libgl1-mesa-dev_7.2-1ubuntu2_all.deb) ...
Unpacking replacement libgl1-mesa-dev ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dev_7.2-1ubuntu2_all.deb (--unpack):
 error creating symbolic link `./usr/lib/libGL.so': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa-dev_7.2-1ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Foton:/home/hans#


The file /usr/lib/libGL.so does exist on my system, but I am not sure about the ‘.’ in ‘./usr/lib/libGL.so’ in the error message. Should it be there?

Leave a Reply

You must be logged in to post a comment.