So, I was doing non-computer stuff the other day and noticed that Ubuntu released 14.10 Utopic Unicorn. I’ve been on 14.04 LTS, so the upgrade should have been trivial as so many have been over the years. As usual, I used the GUI updater to perform a routine upgrade. I let it run whilst doing other things until I noticed two lights flashing simultaneously on my keyboard. Checking the screen, I saw that the upgrade had frozen part-way through the installation. Rats. Now I surely had a unstable, unbootable system stuck in never-never land. Not what I had in mind.
First, I tried rebooting into a recovery mode which worked. I then used several commands to attempt to finish the upgrade:
dpkg –configure -a
This made sure that all packages were available, then upgraded the distribution, then lastly tried to repair any packages that didn’t install properly. The combination netted me a bootable Utopic system, but one using the Noveau open source video driver. I wanted to use my native NVidia driver, so went into Settings -> Software & Updates -> Additional Drivers, then selected the newest tested NVidia driver. I could not tell if that change completed, but I then restarted to load the new driver.
Net result was a working login screen, but after logging in, all I got was the background wallpaper. No Unity launcher or bar at the top of the screen. I was able to get into Settings by right-clicking on the desktop and selecting Change Desktop Background, but could not change the video driver again.
I dropped to the console using Ctrl-Alt-F2 in several attempts to recover the system, but all attempts to recover the video system failed. I’ll spare you the hours of details, but the bottom line is that there’s a bug in the NVidia installation script which causes problems with Unity and Compiz, and it’s not easy to recover from. In frustration, I booted into a Mint 12 setup that I had on another hard drive in my system, downloaded the Utopic DVD image, burned it to a DVD, then tried installing that.
The good news: Ubuntu recognized that I already had a 14.10 installation and offered to fix it while preserving all my apps. That seemed like a no-brainer, so I went for it.The bad news: it didn’t use my old /Home directory, but rather created its own. My regular /Home directory is a RAID 1 Array, which complicates the matter a bit. The old Alternate CD used to accommodate RAID arrays nicely, but that disk doesn’t appear to exist anymore. The Desktop DVD doesn’t have a clue about RAID arrays.
So, I went back to scratch, realizing that I’d have to reinstall all my apps but at least the settings and data would be preserved. So, I rebooted back to the Desktop DVD, manually configured the /Home directory, then learned that the mdadm RAID manager isn’t loaded by default, so I could not make my RAID 1 array the /Home directory. After several clever attempts to fool the system, I ended up making one of the RAID disks /Home by manually setting it in /etc/fstab, finishing the installation, then installing mdadm and reintegrating the array, manually setting the array as /Home in the /etc/fstab file. That worked like a charm, but was time consuming.
Since the Unity launcher didn’t work, I installed the Gnome desktop from Ctrl-Alt-F2 console and used it. I will comment on that desktop when I get a chance, but I found using that desktop extremely frustrating. But, it worked and I was able to use it to fix the Unity setup. That involved wiping the Unity (unity-tweak-tool –reset-unity) and Compiz (deleted the .compiz directories on /Home) settings clean and starting from scratch. Those actions proved the last keys to success.
I also ran into a bizarre problem with one of my USB hubs. It provided endless error messages that infused the entire recovery process and greatly slowed things down. Only by trial-and-error did I find the correct peripheral to disconnect. That hub worked perfectly before, so I plan to give it a try once I finish resetting up my system.
After finally obtaining a clean, working Utopic system, I had to reinstall all of my apps. Since I hadn’t done this for a while, I had to do some catch up on the Internet. I found help for psensors here, Adobe Reader here, Mouse help for Compiz settings here, creating an icon for grpn here, and got that icon here.
I am still installing cat and dog apps as I need them. Now that all is basically resolved, the Unity system seems stable. My experience with Gnome reinforced my appreciation for Unity. Although I wasn’t a Unity fan in the beginning, that system has progressed significantly to become almost intuitive.
As for the Ubuntu 14.10 upgrade, this proved to be the worst of any I’ve ever done over the last 7 years. Perhaps the fact that unicorns are mythical has something to do with it. I hope to see better in the future. Then again, it’s hard to complain about free.