QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1620|回复: 4

编译过程出错——mkinitrd的安装问题!大家来看看!!!

[复制链接]
发表于 2004-4-15 00:20:50 | 显示全部楼层 |阅读模式
今天编译内核的时候出错,没有mkinitrd程序,想起来曾经看过一篇关于编译内核的帖子,里面提到要安装mkinitrd,所以心里还有些安慰。晚上上网的时候按着那篇帖子的说明:可以到站点http://people.redhat.com/arjanv/2.6/RPMS.kernel/去下载最新的mkinitrd-3.5.15.1-2.i386.rpm包. 由于mkinitrd程序包依赖于包, 而lvm2包又倚赖于device-mapper包, 因此还要同时下载device-mapper-1.00.07-1.i386.rpm包和lvm2-2.00.08-2.i386.rpm包.
下载完这三个文件之后,进行安装,在装lvm2-2.00.08-2.i386.rpm时,过程如下:
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

然后安装mkinitrd-3.5.15.1-2.i386.rpm,结果又提示我lvm2为被安装!!
真的好郁闷啊,大家帮我看看是怎么回事,从上面的过程能不能知道lvm2是否被安装??我为编译内核准备了好几天,没想到竟然在这一步上停止不前,苦闷中。。。。。。
 楼主| 发表于 2004-4-15 00:22:18 | 显示全部楼层
我想知道怎样查看我的机子上是否安装了lvm2
回复

使用道具 举报

发表于 2004-4-15 04:45:14 | 显示全部楼层
因为你的机子上已安装了lvm-1.0.3-12, 用rpm的升级明令失事,

rpm -Uvh lvm2.....rpm

查看是否有lvm包, 用
rpm -qa|grep lvm
回复

使用道具 举报

 楼主| 发表于 2004-4-15 20:55:35 | 显示全部楼层
谢谢楼的兄弟,我去试试吧
回复

使用道具 举报

 楼主| 发表于 2004-4-15 23:36:12 | 显示全部楼层
用-Uvh也是不行啊,我用rpm -qa|fgrep lvm找到了lvm-1.0.3-12

不明白为什么装不上lvm2哪,好郁闷啊!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 20:20 , Processed in 0.046197 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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