LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2006, 12:03 PM   #1
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Rep: Reputation: 32
best way to upgrade Ubuntu from 5.04 to 6.06?


I understand that it is usually considered better to do a clean install, but also that Ubuntu's upgrade handling is very good. Given that upgrades are something that, for the most part, Ubuntu handles by itself, and clean installs involve both more user time in the setup and the usual install problems, I am inclined to try first to upgrade. If this is not a good idea, please advise.

However, I will be going from 5.04 to 6.06. Given that there is 5.10 in the middle, should I upgrade to 5.10 first, then move to 6.06, or can I go straight to 6.06?

Also are upgrades handled by Synaptic as an update or is there a separate upgrade method?

TIA

Last edited by Odyssey1942; 07-09-2006 at 12:05 PM.
 
Old 07-09-2006, 12:46 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by Odyssey1942
I understand that it is usually considered better to do a clean install, but also that Ubuntu's upgrade handling is very good. Given that upgrades are something that, for the most part, Ubuntu handles by itself, and clean installs involve both more user time in the setup and the usual install problems, I am inclined to try first to upgrade. If this is not a good idea, please advise.

However, I will be going from 5.04 to 6.06. Given that there is 5.10 in the middle, should I upgrade to 5.10 first, then move to 6.06, or can I go straight to 6.06?

Also are upgrades handled by Synaptic as an update or is there a separate upgrade method?

TIA
It's my understanding, that as "the 'buntu's" are debian based i.e. a meta distro, it should be Ok to change all the repositories listed in your /etc/apt/sources.list, so that they reflect dapper/6.06 sources and then just run the apt-get update.

One of the blokes at my LUG, used to be on the debian developers list (might still be, but AFAIK not actively "developing"), he was often heard to expound the debian benefits of
Code:
apt-get dist upgrade
.

You might also be better placed to confirm that by checking this out at either the Ubuntu forum here at LQ or at the official ubuntu forums.

In any case, if you have a seperate /home partition, you should then just be able to run the upgrade and provided that you have an old disc available, if it did go "pear shaped", then you could just re-install the earlier version and stage it.

Hey, what the hell, why not just do the upgrade twice i.e. change all you sources so that they relect breezy, then do
Code:
sudo apt-get update && apt-get upgrade
once it's finished the update/upgrade, change the sources to dapper and run it again. Of course, thats dependant on your connection because running it twice would use twice the bandwidth.

Personally I can't see why you should need to do that though - it SHOULD just update/upgrade the packages that need it - though from 5.04 to 6.06 thats gonna be most of the distro!

regards

John

p.s. Oh and don't forget, unless any personalisation that you've done i.e. themes/icons/etc etc are actually available from the packages a seperate /home then you might have to re-install them as well, though with luck they will still exist as dapper packages and just upgrade/update

Last edited by bigjohn; 07-09-2006 at 12:58 PM.
 
Old 07-09-2006, 01:02 PM   #3
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
You should be able to use just the 6.06.

If you can find a site that has all of the upgraded packages online (a repo), you could point synaptic (apt-get) at it and download from there.

Otherwise, just download the install disk, and go from there.

... beat me to it.

I wasn't aware that debian was considered a Meta distro, but in reality, as long as all of the upgraded packages are in the 6.06 repo, just point apt-get to it, and have fun.

Last edited by DeusExLinux; 07-09-2006 at 01:04 PM.
 
Old 07-09-2006, 01:17 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by DeusExLinux
You should be able to use just the 6.06.

If you can find a site that has all of the upgraded packages online (a repo), you could point synaptic (apt-get) at it and download from there.

Otherwise, just download the install disk, and go from there.

... beat me to it.

I wasn't aware that debian was considered a Meta distro, but in reality, as long as all of the upgraded packages are in the 6.06 repo, just point apt-get to it, and have fun.
In fact, I think you'll find, that if Odyssey1942 changes the /etc/apt/sources.list to this one
Quote:
# Based on source-o-matic (http://www.ubuntulinux.nl/source-o-matic) list
# Added extra repository
#
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number)
#
# gpg –keyserver subkeys.pgp.net –recv KEY
# gpg –export –armor KEY | sudo apt-key add -

# Ubuntu supported packages (packages, GPG key: 437D05B5)
deb http://it.archive.ubuntu.com/ubuntu dapper main restricted
deb http://it.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu supported packages (sources, GPG key: 437D05B5)
deb-src http://it.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://it.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu community supported packages (packages, GPG key: 437D05B5)
deb http://it.archive.ubuntu.com/ubuntu dapper universe multiverse
deb http://it.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse

# Ubuntu community supported packages (sources, GPG key: 437D05B5)
deb-src http://it.archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

# Ubuntu backports project (packages, GPG key: 437D05B5)
deb http://it.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

# Ubuntu backports project (sources, GPG key: 437D05B5)
deb-src http://it.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

# Seveas’ packages (packages, GPG key: 1135D466)
deb http://mirror.ubuntulinux.nl dapper-seveas all

# Seveas’ packages (sources, GPG key: 1135D466)
deb-src http://mirror3.ubuntulinux.nl dapper-seveas all

# Cipherfunk multimedia packages (packages, GPG key: 33BAC1B3)
deb ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main

# Cipherfunk multimedia packages (sources, GPG key: 33BAC1B3)
deb-src ftp://cipherfunk.org/pub/packages/ubuntu dapper main

# kubuntu.org packages for the latest KDE version (packages, GPG key: DD4D5088)
deb http://kubuntu.org/packages/kde-latest dapper main

# kubuntu.org packages for the latest KDE version (sources, GPG key: DD4D5088)
deb-src http://kubuntu.org/packages/kde-latest dapper main

# kubuntu.org packages for the latest Koffice version (packages, GPG key: DD4D5088)
deb http://kubuntu.org/packages/koffice-latest dapper main

# kubuntu.org packages for the latest Koffice version (sources, GPG key: DD4D5088)
deb-src http://kubuntu.org/packages/koffice-latest dapper main

# kubuntu.org packages for the latest amaroK version (packages, GPG key: DD4D5088)
deb http://kubuntu.org/packages/amarok-latest dapper main

# kubuntu.org packages for the latest amaroK version (sources, GPG key: DD4D5088)
deb-src http://kubuntu.org/packages/amarok-latest dapper main

# Bleeding edge wine packages (packages)
deb http://wine.budgetdedicated.com/apt dapper main

# Bleeding edge wine packages (sources)
deb-src http://wine.budgetdedicated.com/apt dapper main

# The Opera browser (packages)
deb http://deb.opera.com/opera etch non-free

# Penguin Liberation Front (packages)
#deb ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free
deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

# Penguin Liberation Front (sources)
#deb-src ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

## archive.kubuntu.de / archive.czessi.net
# The repository from Kubuntu Germany
# wget http://archive.czessi.net/ubuntu/kczessi.gpg
# sudo apt-key add kczessi.gpg
deb http://archive.czessi.net/ubuntu dapper main restricted universe multiverse preview
deb-src http://archive.czessi.net/ubuntu dapper main restricted universe multiverse preview

# Amarok 1.4 Packages
deb http://kubuntu.org/packages/amarok-14 dapper main

# KDE 3.5.3 Packages
deb http://kubuntu.org/packages/kde-353 dapper main

# KOffice 1.5.1 Packages
deb http://kubuntu.org/packages/koffice-151 dapper main

## Doomsday games
#deb http://eyagi.bpa.nu/~jamie/ubuntu dapper main restricted universe multiverse
#deb-src http://eyagi.bpa.nu/~jamie/ubuntu dapper main restricted universe multiverse
# Dev not-public (Breezy Packages)
deb http://antesis.freecontrib.org/mirro.../devnotpublic/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirro.../devnotpublic/ breezy free non-free

# Achim’s Unofficial ‘dapper’ Kubuntu packages
deb http://www.mpe.mpg.de/~ach/kubuntu/dapper ./
deb-src http://www.mpe.mpg.de/~ach/kubuntu/dapper ./

# Ubuntu Taiwan ubuntu extra repository
deb http://apt.ubuntu.org.tw ubtw/
deb http://apt.ubuntu.org.tw ubtw-testing/

# Ubuntu dapper University Klagenfurt packages
# $ wget http://ubuntu.uni-klu.ac.at/uniklu-debuild.pub
# $ sudo apt-key add uniklu-debuild.pub
# uniklu: backports and new packages
# uniklu-desktop: packages for uniklu desktop
# uniklu-intern: not freely redistributable (jvm), or modified packages
# uniklu-nfsv4: nfsv4 kernel and packages
# uniklu-vserver: vserver kernel
# uniklu-testing: packages not ready for general use !
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-desktop
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-intern
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-nfsv4
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-vserver
deb http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-testing
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-desktop
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-intern
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-nfsv4
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-vserver
deb-src http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/ dapper uniklu-testing

# Ekiga and Debian pkg-voip
deb http://pkg-voip.buildserver.net/ubuntu dapper main

# VLC nightlies
deb http://nightlies.videolan.org/build/dapper-i386 /

# # MaXeR (KDE Apps)
# # deb http://repos.knio.it/ sarge main contrib non-free
# # deb-src http://repos.knio.it/ sarge main contrib non-free
# deb http://repos.knio.it/ breezy main contrib non-free
# deb-src http://repos.knio.it/ breezy main contrib non-free

# Quinn’s Compiz Packages - http://xgl.compiz.info/
deb http://www.beerorkid.com/compiz dapper main
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main

# CompizTool package
deb http://compiztools.free.fr/debian unstable main

# Wormux - Worm Clone packages
deb http://download.gna.org/wormux/debs dapper/

# Skype packages
deb http://download.skype.com/linux/repos/debian/ stable non-free

# Easycam packages
deb http://blognux.free.fr/debian unstable main

# Audacious
deb http://vdlinux.sourceforge.jp/ experimental audacious
deb-src http://vdlinux.sourceforge.jp/ experimental audacious

# Listen
deb http://theli.free.fr/packages/dapper/ ./

# BMPx
deb http://eros.vlo.gda.pl/~szuwarek/files/linux/bmpx/ dapper/

# Freevo
# wget http://www.geole.de/fileadmin/data/m...le-apt-key.gpg
# sudo apt-key add geole-apt-key.gpg
deb http://ubuntu.geole.de/ dapper universe multiverse

# Samba
deb http://www.linux2go.dk/ubuntu dapper main

# GCompris, Televidilo, Kdocker,…
deb http://thomas.enix.org/pub/debian/packages/ dapper main

# Asher256’s Repository
deb http://asher256-repository.tuxfamily.org breezy main dupdate french
deb http://asher256-repository.tuxfamily.org ubuntu main dupdate french

# Gauvain Repository
deb http://gauvain.tuxfamily.org/repos dapper contrib
deb-src http://gauvain.tuxfamily.org/repos dapper contrib

# Tvfreeplayer Packages
deb http://www.tvfreeplayer.com/linux/ubuntu/dapper/ unstable main

# gnomemeeting (ekiga)
deb http://snapshots.gnomemeeting.net/ubuntu/ dapper main
deb-src http://snapshots.gnomemeeting.net/ubuntu/ dapper main
deb http://snapshots.voxgratia.org/ubuntu/ dapper main
deb-src http://snapshots.voxgratia.org/ubuntu/ dapper main

# seb128 repository (gaim - rhythmbox)
deb http://people.ubuntu.com/~seb128/deb ./

## lprod packages: many audio/video apps: avidemux, cinelerra… (breezy partly working on dapper)
# deb http://lprod.org/deb/breezy/ ./

# a little too quiet
deb http://apt.alittletooquiet.net/staging dapper main

# MythTV 0.19
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main

# SimplyMepis packages (distro based on k-ubuntu) but different kernel
deb http://apt.mepis.org/6.0/ mepis main

# Commercial repository - copied from digg.com
deb http://archive.canonical.com/ubuntu dapper-commercial main
then it should provide just about any available package (ha! plus the kitchen sink ). It's rather, erm, "exhaustive". I found it on digg.com, but could just have easily to it from the source-o-matic at ubuntulinux.nl

regards

John
 
Old 07-09-2006, 08:13 PM   #5
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
man, that's a HUGE list
gotta have everything in there.... Amazing!
 
Old 07-10-2006, 09:24 AM   #6
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Wow! What a fabulous bunch of replies! Thank you all.

Errmmmm..., now I have to figure out what all that means. I have only just installed 5.04 from a CD which my brother gave me some months ago and I did not realize until after the install that there was already two updates since that one. In fact I have done very little tweaking (like themes, etc) as I am happy with most of the stuff as it comes. Really liking what I see so far and hoping to get my head around some of it so I can walk and then run.

There is no Windoze on this computer-straight Ubuntu! Ggoing for broke and this from a 25 year (+/-) Windows vet.

done to date:

-with forum help managed to get a driver for my monitor downloaded and installed and working to obtained desired resolution
-upgraded Open Office to 2.0 (synaptic)
-upgraded Firefox to latest (can't remember v #)
-installed Thunderbird (or did it come installed?) but have got it working to retrieve all the mailboxes
-simultaneous to this post, am trying to get my USB memory device installed/mounted? so that I can use it. (There is a working USB printer so part of the USB works OK.)

Reason for mentioning all this is to ask if I will lose all the progress so far in the upgrade process, and if so, how to "save" the relevant bits so as to facilitate their re-implementation? Perhaps 6.06 comes with the latest Open Office and Firefox already included, so it will be a matter of saving documents, bookmarks, the monitor driver, and the email settings, and what else?

Posting this now as I try to digest all the great info you have provided above and likely will have a question or two on the replies later. As you can see I am a complete newcomer to linux so your replies at the most elementary level will be most appreciated.
 
Old 07-10-2006, 01:36 PM   #7
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
basically all you do is change your /etc/apt/sources.lst to the great list above. Then all you do is apt-get update; apt-get dist-upgrade.

it should update all of the files on your PC. In Arch (the distro I use), all I ever have to do is Pacman -Syu, and it will upgrade all the packages on my machine (pacman is like apt-get).

That will give you the newest version. It'll upgrade all software packages (like openoffice, and firefox), to whatever version is newest, it shouldn't upgrade if you installed a .deb and the version you isntalled is newer. (IE, if you installed firefox 1.6, and ubuntu 6.06 comes with 1.4, it shouldn't overwrite your installed version.

It also shouldn't mess with with your fstab either (for your USB drive)
 
Old 07-10-2006, 03:38 PM   #8
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
fantastic. thanks a ton. will be at the location of that computer tomorrow and will attempt the upgrade then and post results here.
 
Old 07-10-2006, 03:54 PM   #9
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
You Won't Be Happy

The number of posts over in the Ubuntu forum on how "uprading" this way borked machines is incredible. I didn't believe it and used the "dist-upgrade" method and trashed mine too. Well, I wouldn't say "trashed". I could get off everything I really needed and did a proper install from DVD. Runs great now. I hope you're luckier than myself and the legions of others that have come to grief this way.

Yes, it is a "great" list. But if you'll look closely, most of those repos are NOT official and supported. I would use that list, in fact mine is quite like that, but comment out repos you don't actually need "right now".
 
Old 07-11-2006, 09:54 AM   #10
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Dragineez, Thanks for your cautionary post.

By commenting out, do you mean add a " # " before the line with the "not" desired URL's? (Sorry for these questions, but this is the first time I have tried to deal with matters like this.)

How would I determine which I would need and which not? I know I don't want the games and supose that the bunch with the line:

uniklu-testing: packages not ready for general use!

and those described as bleeding edge

would be ones that I might not want to install as a general principle of keeping things down to the stuff that I would use and keeping the upgrade stable? But how would I determine what the other ones do, e.g.,

Seveas’ packages and Cipherfunk multimedia packages?
 
Old 07-11-2006, 11:55 AM   #11
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
Correct

Right on both counts. Precede the line you want to comment out with the # symbol.

Comment out anything that is not official, is development or testing, or referred to as "bleeding edge". I would recommend commenting out the xgl aigxl and compiz stuff as well. Really cool technology and I highly recommend it - but wait until you have a stable box first. Then experiment with it.

Now that I look more closely at that list, it's even easier than that. Comment out anything that does NOT have a GPG key.
 
Old 07-11-2006, 04:16 PM   #12
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
[QUOTE=Comment out anything that does NOT have a GPG key.[/QUOTE]

Now that's what I call clear and consise advice. Looks like a good starting place to me. Thanks.

I gather that there is nothing in Linux that compares to the Windoze "Restore" command? I have ordered a 6.06 install CD just in case it goes pear-shaped.
 
Old 07-11-2006, 04:34 PM   #13
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
Should Not Go ^^s up

Even if it all goes wrong, you will still be able to boot to a CLI and back-up from there.
 
Old 07-11-2006, 05:15 PM   #14
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Dragineez
Even if it all goes wrong, you will still be able to boot to a CLI and back-up from there.
Is CLI command line interface and by "back-up from there", are you saying that you can indeed revert to an earlier state?
 
Old 07-11-2006, 05:49 PM   #15
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
If you save your sources.lst file, you could just rename your backup as the sources.lst, and use apt-get to reinstall the other packages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.06 Upgrade issue dennismackenzie Linux - Software 3 06-18-2006 08:16 AM
upgrade options for Ubuntu wminter Ubuntu 5 03-15-2006 09:47 AM
need ubuntu breezy upgrade help eoinmonty Ubuntu 2 02-24-2006 10:00 PM
upgrade ubuntu 5.10 alaios Ubuntu 3 11-20-2005 04:48 PM
No wlan0 with ubuntu upgrade K2712 Linux - Hardware 2 11-10-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration