LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2004, 03:28 AM   #1
knutove1728
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Redhat FC2
Posts: 44

Rep: Reputation: 15
Upgrade fc2 to fc3 using yum


I have FC2 and want to upgrade to FC3 using yum.
I'm not so familiar with yum and there is a few things I dont understand. I read on this forum that I could find a mirror site with fedora core 3 and add it to /etc/yum.conf. I did so and added it to the base section among the url's to fedora core 2. It is listed as number 3. So my first question is if I had to remove the url's pointing to core 2? My next question is if it should be placed in the updates section instead? The reason for asking is when I use yum upgrade, only FC2 packages are downloaded among a few noarch. So now I have installed a lot of FC2 rpm's when I thought it should be FC3 packages. Or is it so that FC3 use FC2 packages which not are renamed?
I mean I read on the fedora homepage that there was nothing to be done when new releases came out, and yum automaticly detected it when you used yum upgrade. Or m I wrong?
I think this is a little confusing so if somebody could point to me the right direction it would be fine.
 
Old 11-09-2004, 07:56 PM   #2
coontie
Member
 
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100

Rep: Reputation: 15
From the author of yum:

Re: Upgrade FC2 to FC3 with yum

* From: seth vidal <skvidal phy duke edu>
* To: For testers of Fedora Core development releases <fedora-test-list redhat com>
* Subject: Re: Upgrade FC2 to FC3 with yum
* Date: Fri, 29 Oct 2004 00:05:26 -0400

On Thu, 2004-10-28 at 14:11 +0000, aldo santini wrote:
> It is posible to upgrade my Fedora Core 2 to FC3 using yum?

I've done a test upgrade of this but there are a few kinks to work out
in the process. I think 90% of the problem comes from the dev->udev
migration playing hell with devices. I'll have more information after
tomorrow or the weekend.

Right now the process is:

- download yum from fc3rc/rawhide
- download fedora-release from rawhide
- install the gpg keys for fc3 to your rpmdb
rpm --import url://of/your/gpgkeys
- update both by hand:
rpm -Uvh yum-* fedora-release*
- check your repository configuration in /etc/yum.conf and in
/etc/yum.repos.d to make sure you have the repositories you want,
configured.
- check to make sure everything is working correctly, run:
yum list updates
- You should see a huge number of packages in need of an update go by.
- Do the upgrade itself. Run:
yum upgrade

The problems I've found so far:

- dev->udev upgrade makes it impossible to open a new terminal
- it's possible the network devices are not recovering on reboot - not
sure why quite yet.
- I'm going to try and break it down a bit and upgrade in smaller chunks
to make it less oppressive to wait through that many packages being
updated.

I'm sure there will be other problems.

-sv
 
Old 11-09-2004, 07:56 PM   #3
coontie
Member
 
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100

Rep: Reputation: 15
basically, sounds like its a bad idea to do it.
 
Old 11-10-2004, 05:15 PM   #4
JordanH
Member
 
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
Quote:
Originally posted by coontie
basically, sounds like its a bad idea to do it.
Lets not make that assertion just yet.

But, I do have a couple issues with upgrading from FC2 --> FC3 via yum. Firstly, I installed an aftermarket version of xine so that I can watch DVD's. Fine. I also installed some aftermarket fonts to allow me to view some old word docs acceptably. Fine.

Now,
$yum upgrade returns this error "Error: missing dep: libcurl.so.2 for pkg xine"
$yum --exclude=xine upgrade returns these errors "Error: missing dep: libcurl.so.2 for pkg xine" and "Error: xorg-x11-font-utils conflicts with xorg-x11-base-fonts<= 6.7.99.903-3"

Any thoughts?
J.

(sorry, this is half posted in a thread I started here
Thread )
 
Old 11-10-2004, 06:56 PM   #5
Nute
LQ Newbie
 
Registered: Nov 2004
Distribution: Sarge
Posts: 15

Rep: Reputation: 0
net install

Could always try. In my experience dist-upgrades never went smooth. But thats me. Fedora 3 has a net install iso im pretty sure though. Might save a disaster.
 
Old 11-10-2004, 10:07 PM   #6
JordanH
Member
 
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
Having yum remove xine before attempting the update has kicked it off smoothly.

The update has been chugging away smoothly for the last 4 hours... We'll see what happens by morning.
 
Old 11-10-2004, 11:48 PM   #7
JordanH
Member
 
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360

Rep: Reputation: 30
Craptastic.

The yum upgrade went very smoothy... it was the rebooting that didn't work. I can reboot into an older kernel but it's ugly. Rebooting into the new kernel errors a couple times (specifically in the init sequence where it tries to touch a few files in /var but can't because it's read-only) and then craps out for good when trying to start the system logger.

Oh yes... and don't forget to re-install the nvidia drivers.

If I don't load nvidia in the xorg.conf file, then we boot nicely.
If I reinstall the NVIDIA drivers, then we hang on booting.

Hmm....

Boot with old kernel
init 3
install the NVidia drivers
regress the /etc/X11/xorg.conf file to use "nv" instead of "nvidia"
restart
Boot with new kernel
init 3
modprobe nvidia
reset the /etc/X11/xorg.conf file to use "nvidia" instead of "nv"
chmod 666 /dev/nvidia*
init 5

It works but I can't reboot or I have to go through it all again.

Hmm... possible solution here:
http://www.linuxquestions.org/questi...ght=nvidia+fc3
The smarter people win, here is their solution that works.
Quote:
$ cp -a /dev/nvidia* /etc/udev/devices
$ chown root.root /etc/udev/devices/nvidia*

Last edited by JordanH; 11-11-2004 at 12:43 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum, up2date, httpd, & samba failed after upgrade from FC2 ->FC3 k41184 Fedora 5 02-14-2005 01:35 PM
Upgrading from FC2 to FC3 broke yum! ericcarlson Fedora 4 12-29-2004 12:47 PM
Trying to update FC2 to FC3 using Yum, and getting error message Rockgod2099 Linux - Software 0 12-13-2004 03:22 PM
How to yum my way from FC2 - FC3 pembo13 Fedora 7 11-27-2004 08:01 AM
yum upgrade kde (FC2) msie02 Fedora 1 10-15-2004 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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