Further along the track to recovery from the disastrous attempt to move / into LVM. I’ve reinstalled ubuntu-desktop after quite a few false starts, acpid gave me grief, as well as other DEBs that were in the file system but not present in the DEB database.

Installing Beryl as per. http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Feisty fixed most of my initial problems.

ajft@fafnir:~/doc/downloads$ sudo apt-get -fV install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
   libgl1-mesa-glx (6.5.2-3ubuntu7)
The following NEW packages will be installed:
   libgl1-mesa-glx (6.5.2-3ubuntu7)
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
147 not fully installed or removed.
Need to get 0B/143kB of archives.
After unpacking 475kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 18206 files and directories currently installed.)
Unpacking libgl1-mesa-glx (from .../libgl1-mesa-glx_6.5.2-3ubuntu7_i386.deb) ...
dpkg: error processing /cdrom//pool/main/m/mesa/libgl1-mesa-glx_6.5.2-3ubuntu7_i386.deb (--unpack):
 unable to create `./usr/lib/libGL.so.1.2': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Recommendation from http://ubuntuforums.org/showthread.php?p=2662530

I think this is a problem with an ATI or NVidia binary driver deb package that didn’t clean up its diversions after itself.

Try removing the ATI or Nvidia driver, then remove the diversions like this and tell me if it fixes your problem:


dpkg-divert --remove /usr/lib/libGL.so.1
dpkg-divert --remove /usr/X11R6/lib/libGL.so.1