Monday, May 28, 2012
6:30 AM

Xubuntu 12.04: upgrade, how it should be

I once had versions 10.04 LTS of Ubuntu and Kubuntu installed on my laptop.

Xubuntu logo
My first ever experience with Xubuntu started much later. It was Xubuntu 11.10 which found its way to my hard disk.

When the version 10.10 was released, I upgraded my (K-)Ubuntu 10.04 systems almost immediately. It was a painful exercise.

That's why I hesitated for some time, until I finally decided to upgrade my Xubuntu 11.10 to the version 12.04.

But I could not postpone it forever, could I? I had to take this step sooner or later. And the decision was made: do it now!

It was not a big problem to find the way to upgrade. Xubuntu's Update Manager had shown me an upgrade button for a few days already. So, I clicked "UPGRADE" and crossed my fingers.

Upgrade process itself took some time, but it was not a big issue. I think total time to download and install all the packages was less than one hour. Surprisingly, Xubuntu initially estimated it to be almost two hours, but this reduced as the progress percentage grew.

During the process, Xubuntu asked me some questions about new packages which are incompatible with old ones (to be removed), some obsolete packages and so on.

Finally, all the packages were installed, old packages removed and the system ready to restart.

Reboot. Let's see what changes Xubuntu 12.04 brought me.


Half of the surprise was that the Xubuntu upgrade replaced my previous GRUB setup. The Master Boot Record was previously linked to my Debian partition. After the upgrade, the MBR was linked to the Xubuntu partition. I saw the same behaviour from Xubuntu, Kubuntu and Ubuntu 11.10 before, so I was not shocked.

If you know, or remember, I run a 4-system setup on my laptop, namely Debian Squeeze, Mageia 1 KDE, Xubuntu and Windows XP at this moment in time. I prefer to keep the GRUB master setup in the Debian partition.

Changing the bootloader without the user's permission is not acceptable, I believe. I can understand that a newly-installed operating system installs GRUB without explicit permission. But this time round, I ran an upgrade. The Xubuntu upgrade should not have replaced the existing MBR.

The cure was easy. Since Debian was listed in the Xubuntu's GRUB, I was able to boot into that operating system and run sudo grub-install /dev/sda and sudo update-grub.

Status quo was restored.

Update 07 June: Unfortunately, Xubuntu keeps placing its own GRUB into MBR after each kernel update. That's not good and should be considered as a bug.
Update 13 June: Next kernel update went without GRUB replacement. I hope, the issue was sorted.

Another surprise was that Compiz was not properly running in Xubuntu 12.04.

After the first boot, I saw my windows were without window titles. It was similar to my experience with Compiz in Xubuntu 12.04 Live.

This issue was also easily cured: compiz --replace ccp put the window titles back. But... even though I had this command in the startup list, it simply did not work at bootup! Xubuntu 12.04 kept starting without Compiz.

A quick internet search gave me the answer. It was in "the missing ingredient".

If you remember, I recently published a guest post from Emery Fletcher about Compiz in Xubuntu 12.04. My own, and, by the way, Emery's experience, too, found that the article did not contain the full recipe of happiness. Another package was required to make Compiz automatically start in Xubuntu 12.04: namely Fusion Icon. Also, the Application Autostart section of Setting Manager should contain an item fusion-icon instead of compiz --replace ccp one. As result of these findings, I changed Emery's post.


Yet another nasty trick was found with the keyboard layout configuration. My Xubuntu 11.10 had a panel applet configured to show the flag for my keyboard layout: default English UK or Russian. The Union Jack flag remained in its place after the upgrade. The issue, though, was that the Russian tricolour was not available on Ctrl-Shift hotkey in Xubuntu 12.04. In fact, the Russian keyboard layout disappeared from the list completely!

Which meant that I had to add the Russian to the layout configuration, and also to re-activate the switch hotkey.

Otherwise, the upgrade was uneventful.

I started some applications: Skype, Qutim, Transmission, VLC, Putty, Vinagre, LibreOffice Writer, Terminal. All of them worked fine. I have only noticed the differences in the VLC and Terminal interfaces, but I don't think they are a big deal. By the way, VLC in my Xubuntu 12.04 was automatically upgraded to a new version 2.0.1 Twoflower.

Xubuntu 12.04: VLC and Flash videos work
Xubuntu 12.04: VLC and Flash videos work

Subjectively, all the applications now start and work faster than they did in the version 11.10. That's a real benefit.

I other words, I am again impressed with Xubuntu. Don't fix what is not broken, as I wrote in my review of Xubuntu 12.04 Live. Following this rule, the upgrade of Xubuntu 11.10 to 12.04 is the most peaceful upgrade I've ever had in my relatively short Linux life.

If you need to upgrade your Xubuntu, you can use the built-in tool, like I did. But if you need to make a fresh install, why not order a CD for this using the Buy Linux CDs service? The disk with your favourite Linux distribution will be delivered right into your mailbox.

Video used on the screenshot: http://www.youtube.com/watch?v=8rIsHw1ud6w



This post was edited by djohnston.

0 comments:

Post a Comment