Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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.
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?
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.
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.
... 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.
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.
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:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.