LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-04-2013, 08:17 AM   #1
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9
Posts: 145

Rep: Reputation: 12
Upgrade vs fresh install


I am talking only about fixed release distros NOT ROLLING DISTROS>
Which method is the safest way to do
1.Install a new version or
2.upgrade an existing(previous) version to next version?
The operating systems and distros considered are : Linux in general,Debian Stable,Ubuntu LTS and Ubuntu non lts versions .
So,please tell me clearly which method is better/safer/more stable?
 
Old 02-04-2013, 09:04 AM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,184

Rep: Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168
This page has a good discussion of the pros and cons of upgrade vs. fresh install:

http://community.linuxmint.com/tutorial/view/2
 
1 members found this post helpful.
Old 02-04-2013, 09:05 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,214

Rep: Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696
upgrade will probably upgrade the packages you have, the fresh install will use a default set of packages (and of course you can modify it in both cases). Usually a fresh install works and an upgrade may fail sometimes.
 
Old 02-04-2013, 09:26 AM   #4
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware{,-current}, OpenBSD
Posts: 377

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Regarding Debian, this page explains in detail all issues to be aware of when upgrading from squeeze (actual stable) to wheezy (next stable):

http://www.debian.org/releases/wheez...rading.en.html
 
Old 02-04-2013, 09:30 AM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,184

Rep: Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168
Good link, Philip. And for Ubuntu users: https://help.ubuntu.com/community/UpgradeNotes
 
1 members found this post helpful.
Old 02-04-2013, 12:12 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,463

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
FWIW - I have never had an upgrade work correctly without breaking something in the process. This is on Ubuntu, OpenSUSE, Fedora, and CentOS. I have ALWAYS ended up wiping the system and installing the new version from scratch eventually anyway, which ends up fixing all of the problems that were introduced during the upgrade.

I know it sounds like an ordeal to wipe and re-install, but in my experience it actually takes me LESS time to wipe, reinstall, and set all of my programs and settings back up than it takes to upgrade and fix the associated problems and failures. Just keep good backups and good documentation, and setting your system back up after a reinstall should only take a couple of hours.

Last edited by suicidaleggroll; 02-04-2013 at 12:14 PM.
 
Old 02-04-2013, 06:58 PM   #7
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
I had problem with upgrade, my distro hunged up, and I couldn't mount / dir with live cd/usb in order to make backup copy. Data was valuable but not backed up before doing upgrade.
 
Old 02-05-2013, 12:35 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Well, for RHEL/Centos, upgrades of minor versions eg 6.2 => 6.3 are supported and should work just fine (do for me).
OTOH, upgrades across major versions eg v5 => v6 are not supported and probably won't work.
https://access.redhat.com/knowledge/...ted_Notes.html
 
Old 02-05-2013, 01:36 AM   #9
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,465

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Also FWIW, I have had nothing but good experiences upgrading Debian stable between releases.
I have one production server that started life as Etch and is soon to be Wheezy, with Lenny and Squeeze and a new mb & hdd in between.
The excellent release notes provide methods that have been thoroughly tested and warnings about any configuration changes between versions.
Provided you don't have 3rd party packages installed, it is really pretty painless and reliable.
 
Old 02-06-2013, 11:14 AM   #10
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,440

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
I'd say it depends on the distro. Often they express their opinion somewhere, and I'd always take their advice. Another guide is how its done.

If you upgrade by just switching repositories and using some tool, I think that can easily go wrong because its basically unintelligent. Salix, for example, gives a guide to upgrading manually and it involves deleting some things and adding new ones, not just replacing all existing packages by newer versions.

If you have an installation disk (like the Fedora DVD) that offers upgrading as an option, then someone has worked out a script to do what needs to be done and it's usually successful.
 
  


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
Upgrade 10.2 or Install 11 Fresh? NightSky Slackware 14 05-19-2007 05:14 PM
should I upgrade to 11.0 or install it fresh adityavpratap Slackware 4 10-16-2006 02:45 AM
Upgrade or fresh install Atif_Khan Fedora 12 02-07-2005 12:16 PM
Upgrade or fresh install? im_an_elf SUSE / openSUSE 2 01-26-2005 09:08 AM
Redhat 6.2 to 7.0 -- Upgrade or Fresh Install? scoats Linux - Software 2 10-21-2001 12:17 AM


All times are GMT -5. The time now is 03:17 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