upgrading from fc3 to fc5 directly

yum clean all
rpm -Uvh http://10.0.0.1/pub/os/Linux/Fedora/i386/5/RPMS.os/fedora-release-5-5.noarch.rpm

# 上面的10.0.0.1是公司内部的一台有fedora core 5安装树的服务器

rpm -e pcmcia-cs openmotif howl-libs xorg-x11-xfs synaptics gcc-g77 libgnomeui lm_sensors iiimf-le-chinput gnome-vfs2 chkfontpath gnome-python2 memprof net-snmp libgnome libbonoboui gnome-python2-bonobo gtkhtml2 urw-fonts gnome-python2-gtkhtml2 gnome-python2-canvas system-config-httpd system-config-network system-config-packages system-config-printer-gui ethereal ghostscript ghostscript-fonts system-config-printer kernel-2.6.9-1.667 kernel-smp-2.6.9-1.667 kudzu system-config-mouse system-config-network-tui system-config-soundcard kernel-utils hal NetworkManager umb-scheme guile swig

# 删掉一大堆可能跟升级yum*和rpm*产生依赖错误的软件包

yum install yum* rpm*

# 首先升级yum和rpm的相关包

yum install kernel-smp kernel

# 安装新的版本的kernel,因为新版的hal与<2.6.15的kernel冲突,而fc3的kernel正是小于2.6.15的

sync
sync
sync
reboot

# 用fc5的kernel(2.6.20)起起来

rpm -e kernel-2.6.12-1.1381_FC3 kernel-smp-2.6.12-1.1381_FC3

# 删掉与新版本hal冲突的kernel版本,如果有<2.6.15的kernel都要删掉

yum update

# 升级系统

rpm -qa | grep -i fc3

# 看看还有没有for fc3的软件包

rpm -e ace-5.6.1-2.423.sogou.fc3 iiimf-csconv-12.1-10.FC3.1

# 有的话删掉

ntsysv

# 从启动中去掉不需要的服务

reboot

One Response to “upgrading from fc3 to fc5 directly”

  1. 今天又照着重做了一遍
    非常好
    就是在rpm -e掉yum install yum* rpm*有dependence问题的包时少删掉php、php-pear、php-mysql三个包了
    直接
    rpm -e php php-mysql php-pear
    然后再
    yum install yum* rpm*
    就行了

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word