LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-18-2012, 01:21 AM   #1
Arjun
Member
 
Registered: Feb 2011
Posts: 120
Blog Entries: 2

Rep: Reputation: 0
linux updation


I would like to know that if i am using the older version of any linux distro and want to update it to a new & latest version then what can i do here ?

Do i need to uninstall the older version and install the new version ? In this way, the data present in the system may get lost !!!!

Or is there any other way to update the linux distro to a new version without the chance of data being lost ?

Thanks
 
Old 07-18-2012, 01:30 AM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Most distribution provide upgrade path. This is distribution specific, not standardized. Ubuntu and derivative have a button on top of the update-manager application. Aptitude or apt-get dist-upgrade also work, but are not advised anymore. Arch and Gentoo have rolling release, so new packages are made available just as regular security/bugfixes updates. Some distribution also have "offline" upgrade using the CD/DVD.

As with all upgrades, including Microsoft Windows, always backup your data, there is always a possibility of something going wrong in the process.
 
Old 07-18-2012, 01:30 AM   #3
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 481

Rep: Reputation: 179Reputation: 179
Hi there,

For may Linux distros it is possible to upgrade without loosing all your data. Your question is difficult to answer without specifics, though. Which distro are you talking about, and what version are you currently running?

Regards
 
Old 07-18-2012, 01:35 AM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
There is no chance of your data getting lost if you have good backups.

Most distributions provide an upgrade path. Please tell us your distribution and we will point you in the right direction.

If it is a production/mission-critical machine then you would be wise to test the update on a non-production machine first.
 
Old 07-18-2012, 01:37 AM   #5
Arjun
Member
 
Registered: Feb 2011
Posts: 120
Blog Entries: 2

Original Poster
Rep: Reputation: 0
I am talking for generally used distros like redhat,ubuntu,fedora.

Currently i am using latest version of backtrack but if i need to upgrade in the future then what will i do ?

So i am asking this question !!
 
Old 07-18-2012, 01:41 AM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
I am not a BackTrack user, but I understand it is in many ways an atypical distro. If they support release upgrades, it is probably documented on their website and/or forums? Don't follow instructions for Red Hat or Fedora! There is no "one size fits all" solution for every distro.

http://www.backtrack-linux.org/wiki/index.php/FAQ
http://www.backtrack-linux.org/wiki/index.php/Main_Page

Last edited by snowpine; 07-18-2012 at 01:48 AM.
 
1 members found this post helpful.
Old 07-18-2012, 04:13 AM   #7
piyush.sharma
Member
 
Registered: Jul 2012
Location: Delhi, India
Distribution: CentOS
Posts: 82

Rep: Reputation: Disabled
In ubuntu, it always shows this list of new updates and at the top they always show to upgrade to new version.
via commands :
sudo apt-get upgrade works well, I did the same on my laptop.
 
1 members found this post helpful.
Old 07-18-2012, 04:54 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by Arjun View Post
... In this way, the data present in the system may get lost !!!!
Regardless of the way your distro performs an upgrade to a newer version, you should have backups. So I'll second snowpine's "There is no chance of your data getting lost if you have good backups"

What would you do if you experience a HD crash or wipe files by accident? Or your machine gets stolen?

PS The fact that one might have terabytes of data is no excuse not to back it up; as my signature states, your data is not important to you if you don't make backups. Let's add here that you should also verify your backups if you're serious about it.
 
Old 07-18-2012, 04:59 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by piyush.sharma View Post
In ubuntu, it always shows this list of new updates and at the top they always show to upgrade to new version.
via commands :
sudo apt-get upgrade works well, I did the same on my laptop.
Isn't that supposed to be sudo apt-get dist-upgrade or similar?

My 'automatic' upgrade from 8.04LTS to 10.04LTS went terribly wrong, by the way, and I had to install 10.04LTS from scratch. Data was not affected as it was on a separate partition.
 
Old 07-18-2012, 07:46 AM   #10
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Quote:
Originally Posted by Wim Sturkenboom View Post
Isn't that supposed to be sudo apt-get dist-upgrade or similar?

My 'automatic' upgrade from 8.04LTS to 10.04LTS went terribly wrong, by the way, and I had to install 10.04LTS from scratch. Data was not affected as it was on a separate partition.
Nope, 'dist-upgrade' is (perhaps somewhat confusingly) for getting the latest updates for your current release.

For Ubuntu, you can follow these instructions to do a release upgrade:

https://help.ubuntu.com/community/UpgradeNotes

Your experience is, unfortunately, somewhat typical: many Ubuntu users find a fresh reinstall is less buggy than a release upgrade.

While Backtrack is "based on Ubuntu" I do not know whether the same release upgrade procedure applies.

Last edited by snowpine; 07-18-2012 at 08:35 AM.
 
Old 07-18-2012, 08:22 AM   #11
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Arjun - I see that you're a Fedora user. You may want to check this out.
 
Old 07-18-2012, 08:58 AM   #12
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by snowpine View Post
Your experience is, unfortunately, somewhat typical: many Ubuntu users find a fresh reinstall is less buggy than a release upgrade.
My 6.06 to 8.04 went smooth Then I started playing with snmp (installed some stuff from the repos) and when it was time to upgrade again, it went wrong with those packages. Warnings occurred that the system might be unstable which was basically an understatement
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL updation from 5 to 6...How.... nandunay Linux - Desktop 5 11-21-2011 03:11 AM
OpenSuSe Updation tvks Linux - Newbie 1 05-02-2011 02:30 PM
updation dhaneshwaran Red Hat 3 08-26-2008 05:12 AM
kernel updation ssilayaraja Red Hat 2 12-16-2006 07:14 AM


All times are GMT -5. The time now is 04:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration