LinuxSir.cn,穿越时空的Linuxsir!

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

内核升级问题!

[复制链接]
发表于 2004-6-11 11:33:10 | 显示全部楼层 |阅读模式
在  置顶:2.4->2.6内核升级指南 [精] 这篇文章中说, 升级mkinitrd这个包,如下所说
4. 更新mkinitrd程序
可以到站点http://people.redhat.com/arjanv/ ... 15.1-2.i386.rpm包. 由于mkinitrd程序包依赖于device-mapper包, 而device-mapper包又倚赖于lvm2包, 因此你还要同时下载device-mapper-1.00.07-1.i386.rpm包和lvm2-2.00.08-2.i386.rpm包.

可是我的 mkinitrd这个包装不上去:安装步骤如下:
[root@localhost zhujin]# 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
You have new mail in /var/spool/mail/root
[root@localhost zhujin]# rpm -ivh device-mapper-1.00.07-1.i386.rpm
warning: device-mapper-1.00.07-1.i386.rpm: V3 DSA signature: NOKEY, key ID 9d6b4012
Preparing...                ########################################### [100%]
        package device-mapper-1.00.07-1 is already installed
[root@localhost zhujin]# rpm -ivh mkinitrd-3.5.15.1-2.i386.rpm
warning: mkinitrd-3.5.15.1-2.i386.rpm: V3 DSA signature: NOKEY, key ID 9d6b4012
error: Failed dependencies:
        lvm2 is needed by mkinitrd-3.5.15.1-2
[root@localhost zhujin]#

大虾们这是怎么回事? 升级2.4->2.6 不装 mkinitrd 行不行?
发表于 2004-6-11 11:46:54 | 显示全部楼层
把就的lvm删了,再装新的看看,
#rpm -e lvm2
 楼主| 发表于 2004-6-11 14:27:13 | 显示全部楼层
root@localhost zhujin]# rpm -q -i lvm
Name        : lvm                          Relocations: (not relocateable)
Version     : 1.0.3                             Vendor: Red Hat, Inc.
Release     : 12                            Build Date: 2003年02月20日 星期四 10时24分51秒
Install Date: 2004年05月22日 星期六 23时27分36秒      Build Host: porky.devel.redhat.com
Group       : 系统环境/基础                 Source RPM: lvm-1.0.3-12.src.rpm
Size        : 3322724                          License: GPL
Signature   : DSA/SHA1, 2003年02月24日 星期一 14时34分41秒, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.sistina.com/products_lvm.htm
Summary     : Linux 逻辑卷管理器工具。
Description :
LVM 包括所有以下支持:对处理在物理卷(硬盘、RAID 系统、
磁光盘、等等,多重设备 (MD),参见 mdadd(8);甚
至环回设备,参见 losetup(8))上的读写操作的支持;
对从一个或多个物理卷中创建卷组(虚拟磁盘)
以及从卷组中创建一个或多个逻辑卷(逻辑分区)
的支持。

这是不是说明我的lvm2-2.00.08-2.i386.rpm包.根本就没装上,
还是lvm-1.0.3-12.src.rpm旧包?
难道要先把lvm 1.0.3的卸掉?
 楼主| 发表于 2004-6-12 08:36:31 | 显示全部楼层
大虾, 不更新mkinitrd包,行么?我看有一篇文章 介绍 2.4升级到2.6 就没提到 更新 这个包!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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