Feeling that I had been through the worst of it at home, I ventured forth to upgrade the office desktop, also a Win7/Ubuntu10.04-64 dual-boot but with a dual-monitor. Being so much older and wiser, I sailed through the grub nonsense and all appeared just dandy, until …
Could not install 'fglrx' The upgrade will continue but the 'fglrx' package may not be in a working state. Please consider submitting a bug report about it. subprocess installed post-removal script returned error exit status 2
Error during commit A problem occurred during the clean-up. Please see the below message for more information. installArchives() failed
OK … Reboot — white screen with nice fine colored pinstripes and a 2cm square of white for a mouse pointer. Awesome. Hard power off/on, boot into recovery mode – low graphics mode. Run “apt-get install -f” as instructed, which results in the removal of the fglrx package:
The following packages will be REMOVED: fglrx 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 108MB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... 179598 files and directories currently installed.) Removing fglrx ... dpkg-divert: mismatch on package when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by fglrx' found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx' dpkg: error processing fglrx (--remove): subprocess installed post-removal script returned error exit status 2 Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Errors were encountered while processing: fglrx E: Sub-process /usr/bin/dpkg returned an error code (1)
Only later did I discover that fglrx was related to my ATI video adapter. Anyway, rebooted, this time getting a totally blank white screen. Hard power off/on boot into recovery mode again – repair packages. This seemed to fix things to a reasonable point. The ATI packages are still not all installed, or not all installed correctly, but at least I have a functional system that looks OK.