sudo apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: libgl1-mesa The following packages will be upgraded: libgl1-mesa 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 45 not fully installed or removed. Need to get 0B/164kB of archives. After unpacking 4096B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 78266 files and directories currently installed.) Preparing to replace libgl1-mesa 6.4.1-0ubuntu8 (using .../libgl1-mesa_6.5.1-cvs20060628_i386.deb) ... Unpacking replacement libgl1-mesa ... dpkg: error processing /var/cache/apt/archives/libgl1-mesa_6.5.1-cvs20060628_i386.deb (--unpack): error creating symbolic link `./usr/lib/libGL.so.1': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libgl1-mesa_6.5.1-cvs20060628_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)