Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Documents / Tech Info / Latest Linux Info / Upgrading OS using Yum

Upgrading OS using Yum

Upgrading to Fedora Core 2
You may want to read the following notes from the author of yum author about upgrading from Fedora Core 1 to Fedora Core 2: http://linux.duke.edu/~skvidal/misc/fc1-fc2-yum-hints.txt

Here are the steps I used to upgrade a system from Fedora Core 1 to Fedora Core 2:

1. Install the Fedora Core 2 version of yum and fedora-release:
rpm -Uvh ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/yum-2.0.7-1.1.noarch.rpm ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/fedora-release-2-4.i386.rpm

2. If yum was already installed prior to the upgrade, backup your old /etc/yum.conf file and replace /etc/yum.conf with /etc/yum.conf.rpmnew.

mv /etc/yum.conf /etc/yum.conf.`date +%m.%d.%y` mv /etc/yum.conf.rpmnew /etc/yum.conf

3. Edit /etc/yum.conf. Choose a mirror from http://fedora.redhat.com/download/mirrors.html to the [base] and [updates-released] sections.

Original [base] and [updates-released] sections:

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

New [base] and [updates-released] sections:

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/$releasever/$basearch/os/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/$releasever/$basearch/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

3. Upgrade to Fedora Core 2.
yum upgrade

Filed under: