LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-07-2009, 06:59 AM   #1
raphtor
Member
 
Registered: Aug 2008
Location: india
Posts: 174

Rep: Reputation: 30
how to upgrade from hardy to jaunty using terminal commands


i am presently using hardy but want to upgrade to jaunty.how can i do it using terminal commands?is there a risk of losing any other data in partitions other than home partition?please halp..
 
Old 06-07-2009, 07:19 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You can do this using aptitude.
1. change the repos in your /etc/apt/sources.list file replacing "hardy" with "jaunty".
2. From the command line run
Code:
sudo aptitude update && sudo aptitude full-upgrade
I'm not sure if this change involves a kernel change but if so you might have to do the manually. I'm not that familiar with the Buntu way of doing things so you'll need to check this.
cheers,
jdk
 
Old 06-07-2009, 07:22 AM   #3
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
According to the Ubuntu Documentation, it cannot be done!

Quote:
You can only directly upgrade to Ubuntu 9.04 from Ubuntu 8.10
 
Old 06-07-2009, 08:00 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,159

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
That's a generic (Ubuntu) warning not to skip levels - they do it every release.
Personally I haven't done an upgrade for years - it's such a shonky procedure with Ubuntu it just ain't worth the trouble.

Do a clean (re-)install - be careful with /home, and it works fine.
 
Old 06-07-2009, 08:12 AM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
I've never had a problem with the Ubuntu upgrade procedure, and have upgraded several times now.

With different versions of Ubuntu, I have had problems with graphics tablets breaking, suspend to disk suspending to RAM instead, and virtual screen resolutions being bigger than the graphics chipset can support, but as far as I know these are all OS problems and not anything to do with the upgrade procedure.

The official recommended procedure to upgrade Ubuntu from the command-line is as follows. I believe you have to run this once for each version; you can't skip versions when upgrading Ubuntu (except to upgrade from one LTS release to another).

Code:
sudo apt-get install update-manager-core
sudo do-release-upgrade
Source: http://www.ubuntu.com/getubuntu/upgrading

jdkaye's advice should also work, but do-release-upgrade has a better chance of migrating configuration files safely.
 
Old 06-07-2009, 08:39 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,159

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Quote:
Originally Posted by rjlee View Post
With different versions of Ubuntu, I have had problems with graphics tablets breaking, suspend to disk suspending to RAM instead, and virtual screen resolutions being bigger than the graphics chipset can support, but as far as I know these are all OS problems and not anything to do with the upgrade procedure.
None of that has anything to do with the O/S - it is all the result of the packaging. Blame the Ubuntu devs.

Were you to do clean re-installs, you would most probably see significantly less of these sort of issues. As I alluded above.
 
Old 06-07-2009, 10:03 AM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Yup, clean install is always the safer thing to do, especially when you start skipping releases. If you are concerned about having to install all your software again, consider exporting the current package list from synaptic and importing it into your new system.
 
  


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
Upgrade problem (from Hardy to Jaunty) ANO1453 Ubuntu 3 07-03-2009 02:45 AM
installed Jaunty (new partition)--now Hardy will not boot (crypto issue) Mountain Linux - Software 17 05-24-2009 07:54 AM
ifconfig shows only lo (after Hardy -> Jaunty + KDE 3.5 upgrade) pwabrahams Linux - Networking 7 05-02-2009 09:17 PM
new to linux based O.S. -- difference between Ubuntu gutsy, hardy, intrepid, jaunty poiesis Ubuntu 6 04-07-2009 07:29 AM
LXer: Sound Solutions for Hardy,Intrepid and Jaunty Jackalope Users LXer Syndicated Linux News 0 03-16-2009 09:20 AM

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

All times are GMT -5. The time now is 07:07 PM.

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