Muffinresearch Labs by Stuart Colville

Parallels tip: Upgrading to Ubuntu Feisty from Edgy | 3 Comments

Posted in Snippets on 15th May 2007, 11:24 pm by

Upgrading your parallels image to try out feisty really couldn’t be easier. Simply clone the disk image you already have of Edgy and rename it so know what it is. I followed the second set of instructions found at ubuntugeeks.com

First you need to update your /etc/apt/sources.list file to point to the feisty repos: sudo sed s/edgy/feisty/g -i /etc/apt/sources.list

Then run the following commands: sudo apt-get update and sudo apt-get dist-upgrade. This will take a while. to check everything went ok run the following:
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get -f install
sudo dpkg --configure -a

When it’s done reboot and run the following: cat /etc/issue If all is well you should find the output is: Ubuntu 7.04 \n \l.

Note: The command line route worked without hitch for me but YMMV. As Peter has pointed out the official docs don’t recommend this approach. If in doubt use the gui upgrade route.

That said you are upgrading a copy of a VM so if it goes pear-shaped, you can simply create a new clone and start over if necessary.

Post Tools

  • http://peter.mapledesign.co.uk Peter Bowyer

    This approach is *really* not recommended for upgrading Edgy! Not sure why, but here’s the official upgrade guide

    http://www.ubuntu.com/getubuntu/upgrading

  • http://muffinresearch.co.uk Stuart Colville

    @Peter Bowyer: Thanks for the info.

  • http://www.osde.info osde.info

    don’t forget to update your mouse driver to vmmouse !

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Ubuntu: add-apt-repository: command not found|(3)

When you’re using a minimal Ubuntu install if you find the ‘add-apt-repository’ command is missing (it’s useful for adding PPAs and other repositories), then simply run:

sudo apt-get install python-software-properties

Photos on Flickr

© Copyright 2004-12 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.515s.