LinuxQuestions.org
Review your favorite Linux distribution.
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 01-15-2008, 10:08 AM   #1
snoukka
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Question Upgrading fc2 to fc3 with yum hangs


I have to do upgrade from fc2 to fc4. I am following instructions from here brandonhutchinson.com/Upgrading_Red_Hat_Linux_with_yum.html. First I am upgrading fc2 to fc3. It looked like everything was ok and let it running over night. When I checked it this morning, I noticed that it is stucked. Last line on console says:

Completing update for PERL-XML-Encoding - 2875/3045

I checked Ctrl + Alt + Fxx views and they did not give any additional information. Just login screens and that is it.

Would you guys have any ideas what to do? Should I just do a clean fc4 installation? I was hoping to do upgrade, so all my data would stay there. Other versions than fc4 are not an option.
 
Old 01-15-2008, 11:35 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well both Fedora Core 3 and 4 are old by now. May I ask why the other versions, like Fedora 8 for example, aren't an option?

In any case a clean install is a wise thing to do. A few reasons:
- Fedora, like many others, doesn't actually "officially" support upgrading the system via yum
- Fedora discs offer an upgrade option if I'm not completely mistaken, so you could download the disc set, burn it, boot it and select the upgrade option; this would save you from potential network errors that could interrupt the update. Still a "non-clean install" is not as good as doing the real thing: old files may be left there, the upgrade can break anyway, and it's a known fact that upgrading that way (especially with the package manager with internet reposities) does cause trouble, sooner or later (I mean "later" as in "you notice the trouble later").
- A clean install takes no more time than an upgrade, maybe even less if you've got the discs ready
- You should have backups of your *important* data anyway (if you don't, then you don't consider your data important, so it's all the same if you lose it anyway), so doing a clean install is no problem
- By doing a clean install you'll get rid of possible problems in the system caused by a bad configuration or such
- Getting your old data back is no problem if you have done backups as you should, and getting all the rest back (software, mainly) is a matter of few clicks in your package manager these days
- If you had formatted your partition so that you had a separate /home partition, you wouldn't necessarily have to move your precious data away from the disk during the upgrade; backups are a sane idea always, but with a separate /home you can just leave it unformatted, and instead format the root partition (and others if needed), do a clean install selecting /home to be mounted on the partition where the home directories are, and after the job is done have your data sit there like it used to be, along with all your personal settings, browser plugins and such

The list is probably endless. There are some reasons to do an upgrade trough Yum (or using an install disc set's upgrade option), but for every such reason there are at least two or three reasons to do the job the right way. So if you haven't, back up your data (especially if you don't have a separate /home partition), do a clean install, maybe change your partition layout to have a separate /home so you have an easy, swift and clean upgrade or distribution switching ahead next time, and go for it.

I doubt if you have many upgrades available for Fedora Core 3 or 4 anymore as they're so old, so you really should consider the later versions, the Fedora series (no more "Core" in the name). If you doubt if your machine is powerful enough to smoothly run them, don't worry; they shouldn't need any more machine power than FC3/4 do, they should have a better hardware support, and it is even possible that they run smoother - because the software (like desktops, KDE/Gnome) has evolved too, and hopefully optimized a little. At least KDE3.xx and Gnome2.xx have become faster than their previous versions were, so even though they're heavy and slow, they're not that heavy and slow as some versions used to be. Some of the early Gnome2.x and KDE3.x versions were really a pain compared to what they are today..
 
  


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
Upgrading from FC2 to FC3 R N Ghosh Fedora 2 01-02-2007 07:38 AM
Upgrading from FC2 to FC3 broke yum! ericcarlson Fedora 4 12-29-2004 12:47 PM
How to yum my way from FC2 - FC3 pembo13 Fedora 7 11-27-2004 08:01 AM
Upgrading to KDE3.3.1 in FC2 through yum msie02 Fedora 1 10-26-2004 11:21 AM
Upgrading from FC1 to FC2 using yum saxophobe Fedora 1 05-21-2004 04:28 PM

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

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