文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>centos4.7升级到centos5.2

centos4.7升级到centos5.2

时间:2009-03-23  来源:sjhf

1)# rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-2.el5.centos.i386.rpm http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.2-2.i386.rpm
我用的是中科大的源:
#cd /etc/yum.repo/
#wget http://centos.ustc.edu.cn/CentOS-Base.repo.5
#mv CentOS-Base.repo.5 CentOS-Base.repo

2)#rpm -qa | grep kernel
#rpm -e --nodeps --justdb kernel-xxx(就是刚才搜出来的老版本的kernel)
3)#yum -y upgrade
报错:
Error: Missing Dependency: libttf.so.2 is needed by package bg5ps
Error: Missing Dependency: libttf.so.2 is needed by package VFlib2
.................
先移除这些软件包:
#yum remove VFlib2 linuxwacom bg5ps initscripts xinitrc xorg-x11 lksctp-tools hal kudzu
在继续:
#yum -y upgrade
还是有报错:
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
先安装5.2的kernel
#wget http://mirror.centos.org/centos/5/os/i386/CentOS/kernel-2.6.18-92.el5.i686.rpm
#rpm -Uvh kernel-2.6.18-92.el5.i686.rpm --nodeps
#yum -y upgrade
相关阅读 更多 +
排行榜 更多 +
猴子很忙正版

猴子很忙正版

飞行射击 下载
召唤与合成2手机版

召唤与合成2手机版

休闲益智 下载
碧优蒂的世界免费版

碧优蒂的世界免费版

休闲益智 下载