» Upgrade to Ubuntu Gutsy Tribe 3 ALPHA

The stable version of the newest Ubuntu version Gutsy Gibbon will be released in October 2007. I could not wait that long however. And since the third alpha of Ubuntu 7.10 was recently released, I figured let's give it a shot. Testing alpha releases (especially from Ubuntu ) is like looking into the crystal ball of technology. This is how I upgraded and got compiz working again.

 

If you're going to upgrade to Gutsy checkout:  5 tips for upgrading any ubuntu. Or, if you're running compiz-fusion check out how to upgrade to gutsy with compiz-fusion!

 

This article is not an how to, it's a description of my struggle to get Gutsy (that's still under development, and will be for the next 4 months) running on my system. Please do not just copy & paste this and think it will work for you as well, because you can seriously mess up your system. This is intended to inspire and help others who are experienced users and also interested in running ALPHA releases to get a sneak peak into the future.

The upgrade

10:30 - preparations

I have a lot of custom apt sources (automatix, beryl, nvidia drivers, codecs, fonts) but these are all Feisty specific, so first I have to backup my customized sources.list:

sudo cp -af /etc/apt/sources.list /etc/apt/sources.list.feistybackup

And then reset it to a normal Feisty list:

sudo echo "# normal ubuntu
deb http://nl.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
" > /etc/apt/sources.list

Now let's make sure my current Feisty release is up to date before upgrading to the next level:

sudo aptitude update
sudo aptitude dist-upgrade

"No need to upgrade any packages". Alright.

 

10:50 - let's do this!

Time for the next big step, this will actually start the upgrade:

gksudo "update-manager -d"

It tells me there is an Ubuntu 7.10 version available, do I want to upgrade? Hell yea!

Update Manager warned me about removing some packages (like desktop-effects, beryl, etc). I just clicked Remove.

 

11:08 - the moment of thruth

The system wanted to reboot. Fair enough


 

11:10 - apport

I'm getting 2 errors, I submitted the problem information to Ubuntu to help them with their bugfixes (this system works very snappy and un-intrusive, that's one noticeable improvement already).


http://kevin.vanzonneveld.net/docs/upgrade_to_ubuntu_gutsy/gutsy_upgrade_04.jpg 

 

11:11 - the moment of thruth v2.0

I wondered if these errors will be here next time I reboot. Let's try this now.
Rebooting.

 

11:14 - easy fix

The error about the gnome-panel has been automagically fixed! Great!

Now only the restricted-manager error remains. Rest of the system seems to be fine on first sight. So I ran the restricted-manager program from within a terminal to see what went wrong:

sudo restricted-manager


http://kevin.vanzonneveld.net/docs/upgrade_to_ubuntu_gutsy/gutsy_upgrade_08.jpg


And I googled on UnboundLocalError: local variable 'modules' referenced before assignment. Seems this is a known bug, with a fix in progress. They also offered a patch, it just didn't make it to the repositories yet. So I applied the patch by editting /usr/lib/python2.5/site-packages/RestrictedManager/lrm_driver.py and adding

modules=[]

to line 61 like this:


http://kevin.vanzonneveld.net/docs/upgrade_to_ubuntu_gutsy/gutsy_upgrade_09.jpg


Done. Rebooting.

 

11:28 - victory!

The restricted-manager error is gone. Now lets try out my new Gutsy Gibbon! First thing I'm curious about is if I can get the eyecandy to work (compiz or "Desktop Effects" comes standard with Gutsy I thought).

 

11:30 - the moment of thruth v3.0

I found a new and improved menu item "Appearance" with several tabs to manage the entire Look & Feel of Ubuntu, it's got a tab for Desktop Effects, and a button, Enable Desktop Effects. Could it be this easy?


http://kevin.vanzonneveld.net/docs/upgrade_to_ubuntu_gutsy/gutsy_upgrade_10.jpg


Apparently not :), so let's see what packages provide this gtk-window-decorator that we're missing

sudo aptitude update
sudo aptitude install apt-file
sudo apt-file update
sudo apt-file search gtk-window-decorator

It reports it's in the package compiz-gnome. Alright, let's install it:

sudo aptitude install compiz-gnome

It reports the package is broken. And that I should downgrade it, this could have something to do with my customized repositories I told you about earlier, because as you can see by the "~3v1" suffix, my packages come from the Treviño’s Ubuntu Feisty Repository:


 

11:39 - package conflicts

Desktop Effects still doesn't work, maybe I there still are more packages from the custom Treviño’s Ubuntu Feisty Repository on my system:


http://kevin.vanzonneveld.net/docs/upgrade_to_ubuntu_gutsy/gutsy_upgrade_12.jpg


Yep, that's pretty much my own dumb stupid fault. Lets remove all of them

sudo aptitude purge beryl-core beryl-plugins beryl-plugins-data \
beryl-settings beryl-settings-bindings compiz-config-gnome \
compiz-fusion-plugins-extra compiz-fusion-plugins-main \
compiz-fusion-plugins-unsupported compiz-gtk \
compizconfig-settings-manager emerald kiba-dock kiba-plugins \
kiba-settings kino libakamaru0 libberyldecoration0 \
libberylsettings0 libcompizconfig-backend-gconf libcompizconfig0 \
libdecoration0 libemeraldengine0 python-compizconfig

And reinstall the packages I think I need from the official Gutsy repository:

sudo aptitude install compiz compiz-fusion-plugins-extra \
compiz-fusion-plugins-main compiz-gnome compiz-plugins \
gnome-compiz-manager libcompizconfig-backend-gconf 

 

11:50 - still no good?

Ok, that worked perfectly. But now when I click the Enable Desktop Effects button, it is still generating a crash report:


 

12:00 - xorg.conf

I'm not going to click on Enable Desktop Effects anymore, because that hides a lot of errors. Let's just run compiz it from a terminal window:

/usr/bin/compiz.real --ignore-desktop-hints \
--indirect-rendering --replace ccp

It's giving me errors like: /usr/bin/compiz.real: No GLXFBConfig for depth 32

But wait, I've seen this before, back in the days with Beryl we could fix this with 2 rules in the file /etc/X11/xorg.conf. Under my nvidia device section, I'll add 2 options:

Option         "AddARGBGLXVisuals" "True"
Option         "DisableGLXRootClipping" "True"

And I'm giving the system a reboot, just in case... That did !!!

 

12:02 - victory v2.0!!

Awesome! My Gibbon is showing off her first Desktop Effects, shake it baby!


 

A-OKAY! :D

Got Gutsy working, with the oh-so important eyecandy. And did I mention that it's all working smoothly on my 2 monitors? That's right, dualheaded without any problems. I'm going to play around a little more.

12:20 - freezes

The system is hanging for a second, every half minute or so. Very annoying. I'm going to run

top

From a terminal to see if I can find out which process causes this.

12:27 - die, beagle

It seems to be beagled. Beagle is a program that indexes your instant messages, emails, Open Office documents etc, so that you can search & find them very fast. That's cool, but this version seems to be indexing too aggressively for me, so for the time being I'm going to kill it:

killall -9 beagled

 

12:50 - conclusion

That worked brilliantly! With Beagle being dead now,  the system is very responsive, feels snappy and I can get back to work :)

I have to say I'm quite happy with the system (for) now. As you may have noticed it's not a seamless upgrade, but that was to be expected since the stable release it not until October.

But hey, if you're a bit into Ubuntu like me and you're not running a production machine, these findings may help you when trying Gutsy as well!

If I run into strange or cool things after this upgrade, I'll update this article in the aftermath. Cheers!

 

The aftermath

update #1 - I like the new Gimp 2.3!

It's got a lot of improvements like a new resize method, and the general look & feel have improved greatly.

update #2 - still going strong!

I've got Gutsy Gibbon running for a day now and everything is still working like a charm. The Desktop Effects are simple but nice, and rock solid.

update #3 - first real problem since the installation

After Gutsy has been running very smoothly and snappy the last couple of days, I figured it was time for a reboot. But after I logged in, the system pretty much halted. I could still enter the console however with CTRL+ALT+F2, and it was only after I killed compiz.real:

killall -9 compiz.real

and switch back to Gnome with ALT+F7, that the system continued to boot. Then when I turned Desktop Effects off, and then on however, compiz just ran normally again. Strange..

update #4 - font size

The fontsize in Gnome is very big, but in Firefox it's very small!!. I fixed this using the DPI settings in both applications. In Firefox I type:

about:config

Then in Filter I type:

layout.css.dpi

I click on that setting and change -1 to 0.
This conforms the Firefox DPI setting to Gnome's. Now let's change the Gnome DPI setting in the System menu under Appearance, Fonts, Details. I set it to a Resolution of 86 dots per inch which is fine for me, but may be different for everybody. Default is 96 I believe.
Seems to be a known bug by the way.


Like this article?

   Then Digg it!
Or use another bookmark button below to show your support &
help me spread the word.


tags: ubuntu, gutsy gibbon, compiz, beryl, feisty fawn
category: Technology
read: 27,917 times

Add comment

» Currently away on vacation. I can reply your message the 24th of July 2008. Please post anyway and check back then. Thank you!

for syntax highlighting

[CODE="Javascript"]
your_code_here();
[/CODE]

Replace "Javascript"
with "php", "text", etc.
code (to make sure you are not a spammer)

Comments

#25. raul rosenzvaig on 06 November 2007

raul rosenzvaigyes I tried nvidia-settings but didn't give me more than 600x400 option. I did reinstall clean ubuntu and even now I can only use the default drivers with an script to change the xorg.conf in each boot, so is like solved issue more and less. Thank you very much for your answer. I appreciate

#24. Kevin on 03 November 2007

Kevin@ raul rosenzvaig: Try pressing ALT+F2, typing 'gksudo nvidia-settings' (without the quotes) and clicking Run.

This should open an nVidia configuration utility of your driver is successfully installed. With the tool you can setup you resolution and for X to use the nvidia driver.

If nothing happens, the driver isn't installed. Then you may want to open a terminal and type:
... [more] sudo aptitude reinstall nvidia-glx-new

Or have a look at my other article:
http://kevin.vanzonneveld.net/techblog/article/upgrade_to_ubuntu_gutsy_with_compizfusion/

Good luck!

#23. raul rosenzvaig on 02 November 2007

raul rosenzvaigHi kevin looks like you have much expirience with linux.
I wanted to ask you : I upgraded to ubuntu 7.10 an there I can\'t find the solution to use a screen resolution more than 800 x 600.Previously, in ubuntu 7.04 I have installed the propietary drivers with automatix.
I have a nvidia card . What I did was tried by hand and with gnome to install the nvidia driver and didn\'t worked. I m trying to avoid to make a clean install, should be another way, what else can I try ? Thank you in advanced

#22. EAASIER on 14 September 2007

EAASIERwell getting kiba-dock and stuff is useful with this. but just downloaded the compiz stuff from the existing repos. I installed xgl too, surprisingly easy, no configuration at all. I'm using an ati card. Things have been flawless so far. I'm thinking of using this to get kiba. I don't want to deal with subversion.

#21. Kevin on 13 September 2007

Kevin@ TomPurnell: Oh I see. I found it at deviantART at http://-kol.deviantart.com/ But that link seems to be dead right now. The wallpaper is called: Seasons - Autumn, and is available in all kinds of resolutions and seasons if you search with Google.

Here's a link I just found with some versions that still work: http://www.blogwaw.com/2007/02/seasons-autumn/

#20. TomPurnell on 13 September 2007

TomPurnellThe guy asking about the background image was referring to your desktop background in the screenshots rather than your site background..

#19. Kevin on 16 August 2007

Kevin@Adam: Never mind, I found and fixed the bug, thanks again man!

#18. Kevin on 15 August 2007

KevinHi adam thank you for pointing that out, however I can't reproduce this behavior. Would you please like to paste the exact URL you're using for the feed so I can fix it?

#17. adam on 15 August 2007

adamyour RSS feed doesn't work... it will go to article.com

#16. Tim on 06 August 2007

TimChristopher, I think the package manager will point to the newer ATI driver in Gutsy. I think I should be able to run Compiz when Gutsy comes out on my X1300.

#15. Kevin on 27 July 2007

KevinIndeed if the -d (devel release) is not accepted, the -c (dist upgrade) with valid gutsy repositories should force a gutsy upgrade as well. I'm glad you made it through Alex. Congratulations on your new gutsy alpha sytem :)

#14. Alex on 27 July 2007

AlexHoi Kevin, the notebook messed up some updates but now it's a true gutsy gibbon. A few updates and removing evms (it hogged my cpu big-time) but now i can finally play. But i am inclined to say that adding the gutsy repos to the sources list was the solution to the upgrade problem. I had no probs with upgrading to feisty using update-manager.

#13. Kevin on 26 July 2007

KevinAlex, the reason the kernel has been upgraded now is because you used: 'dist-upgrade'
instead of: 'upgrade' the second time. Anyway you should now be able to remove the feisty repositories, and just keep the gutsy repositories. Then you might want to:

sudo aptitude update
sudo apt-get autoremove
... [more] sudo aptitude reinstall notification-daemon

remember, I haven't tested any of this.

#12. Alex on 26 July 2007

AlexHey Kevin, Thanx for the aptitude tip. I thought (assumed) that apt and aptitude were the same tool. Apparently the have their own db's as well. Ok, my update. After recovering i found the upgrade was 2.6.20.16, so no Gutsy there. Then I stuffed both feisty AND gutsy in the sources.list, aptitude update and dist-upgrade, and here we are, 2.6.22.8, Have some boot errors from device-mapper on fsck my dos partition, but it continues to boot. One more question on aptitide, notification-daemon reports obsolote pkgs require upgrade, like the daemon itsself and libwnck-common. aptitude reports these pkgs KEPT-BACK, and doesn't upgrade them.....?

#11. Kevin on 26 July 2007

KevinIf you're not going to use update-manager (which in general does upgrading the best), you should probably opt for

sudo aptitude dist-upgrade

Which has better dependency solving capabilities than apt-get. Anyway good luck with your P4 Alex!

#10. Alex on 26 July 2007

AlexHey Kevin, Dan. I don't use Alt-F2, only console. I tried replacing all feisty with gutsy in sources.list, and for some reason went with "sudo apt-get upgrade" which indeed starts upgrading. Alas, my P4 note is constantly overheating so in the middle of upgrade switched off. Have still to check results.

#9. Kevin on 26 July 2007

KevinHi Alex, Dan,
I've got another workstation still running Feisty and so I've tried to reproduce your errors. If I run gksudo update-manager -d from a console, I also get: warning: could not initiate dbus
could not send the dbus Inhibit signal: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

However I still get a "New distribution release 7.10 is available" Upgrade button.
... [more]
If I press ALT+F2 to get the Run Application window, and I type 'gksudo update-manager -d' I do not get the Upgrade button.
This is because -d (check for devel release) is not passed as an argument to update-manager but to gksudo (for gksudo -d is debug). If instead I type 'gksudo "update-manager -d"' from within the ALT+F2 window (without the single quotes, but with the double quotes) the upgrade to devel release button is available and I can proceed upgrading.

Does this solve your issue? If it does, please drop a line, so that I can update this article.

#8. Dan on 25 July 2007

DanSame problem as Alex, same solution too, I like the look of Gutsy, should be impressive when it is finally released in October.

#7. Alex on 25 July 2007

AlexI've seen this problem around, but no solutions yet, the "update-manager -d" or -c -d or any other option doesn't produce a upgrade button on the UM panel. Instead it returns a dbus warning and an error when rechecking:
could not send the dbus Inhibit signal: org.freedesktop.DBus.Error.NoReply:

Even after cleaning up sources.list like the basic one you present, no joy.
Could it be that there is no release available at the moment?
... [more] Torrenting the iso right now just for kicks.

#6. Kevin on 25 July 2007

KevinChristopher, it seems ATI just released a new linux driver, maybe this will resolve your Radeon issues?
http://ati.amd.com/support/drivers/linux/linux-radeon.html

#5. Nibiru on 23 July 2007

NibiruThanks very much. I've got feisty running like a top, but need Gutsy to deal with a charging issue for my new Blackberry. Nice to have an idea of what I'll run into.

#4. Kevin on 21 July 2007

KevinHi Christopher, I only have nVidia cards so I'm unable to test that. Since Feisty, the restricted drivers manager makes it a little easier for people with ATI cards. But other than that, it's really up to ATI to fix. They should provide solid drivers for every OS.

#3. Christopher on 21 July 2007

ChristopherAny improvements on support for ATI Graphics Cards. My ATI Radeon 200M Xpress still doesn't work in Festy?

#2. Kevin on 20 July 2007

KevinHi James,

It's from a template by styleshout. I credited them in my footer so you'll find the link there as well.

#1. James M. on 20 July 2007

James M.I usually hate people who post comments like this, so I'm going to be a hypocrite for a second. What picture are you using for your background? I've seen it before but never downloaded it. I <3 wind-farms.

Also, woo for Tribe 3. I downloaded the iso for it as soon as I saw it was released, but I have yet to install it within qemu...that'll be my weekend project. Glad to know it's working relatively well!