Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10454924
  • 博文数量: 2905
  • 博客积分: 20098
  • 博客等级: 上将
  • 技术积分: 36298
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-23 05:00
文章存档

2012年(1)

2011年(3)

2009年(2901)

分类: LINUX

2009-03-23 11:10:18

1)# rpm -Uvh
我用的是中科大的源:
#cd /etc/yum.repo/
#wget
#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
#rpm -Uvh kernel-2.6.18-92.el5.i686.rpm --nodeps
#yum -y upgrade

阅读(1103) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~