LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 762|回复: 5

内核升级的问题

[复制链接]
发表于 2004-6-14 19:13:39 | 显示全部楼层 |阅读模式
按照2.4升2.6的方法,我试着升级但在安装RPM包mkinitrd-3.5.15.1-2.i386.rpm出现了问题了:
error: Failed dependencies:
        lvm2 is needed by mkinitrd-3.5.15.1-2
说需要LVM2的包,可我LVM2的包已经安装完了呀!!!这是为什么呢!?
这是我安装LVM2包时候显示的相关信息
[root@biglong longlei]# rpm -ivh lvm2-2.00.08-2.i386.rpm
warning: lvm2-2.00.08-2.i386.rpm: V3 DSA signature: NOKEY, key ID 9d6b4012
Preparing...                ########################################### [100%]
        file /usr/share/man/man8/lvchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvextend.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvm.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvmchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvmdiskscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvreduce.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvremove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvrename.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/lvscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/pvchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/pvcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/pvdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/pvmove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/pvscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgcfgbackup.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgcfgrestore.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgchange.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgck.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgcreate.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgdisplay.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgexport.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgextend.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgimport.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgmerge.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgmknodes.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgreduce.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgremove.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgrename.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgscan.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12
        file /usr/share/man/man8/vgsplit.8.gz from install of lvm2-2.00.08-2 conflicts with file from package lvm-1.0.3-12



大家知道这是为什么吗!~?鞠躬了!
另外我想问一下,这几个包都是什么呀,有什么作用呢!?module-init-tools-3.0 当然,这个我也想问问是干什么的!
发表于 2004-6-14 19:25:10 | 显示全部楼层
你的lvm2没装上。
提示和lvm1有冲突,试试用rpm -Uvh lvm2-2.00.08-2.i386.rpm 来安装
发表于 2004-6-14 19:57:17 | 显示全部楼层
lvm2和lvm1这是两个不同的包,用rpm -U不行吧。
发表于 2004-6-14 20:19:52 | 显示全部楼层
看不明
 楼主| 发表于 2004-6-15 13:19:35 | 显示全部楼层
同意二楼所说的,LVM1和LVM2不是相同的包,所以不能够用参数U,说没装上,可我用rpm qa |grep lvm查找,可是找不到这个包的说呀,系统告诉我说这个包没有安装,这是为什么呢!?
发表于 2004-6-15 14:06:42 | 显示全部楼层
你试试 rpm -ivh --replacefiles lvm2-2.00.08-2.i386.rpm 我一开始也是向你说的那样,后来用了这个命令之后,就全都ok了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表