2.4内核升级到2.6中遇到的问题
时间:2007-05-04 来源:caimeng
2.6 upgrade dependency problems
March 4, 2004 - 7:46pm Submitted by faz67 on March 4, 2004 - 7:46pm.
Hello All
I'm trying to upgrade from 2.4 to 2.6, just a simple rpm install but I have some
dependency issues that my books don't explain. Several resolved with out much
trouble, by simply downloading and installing the required files. However, this
is not the case with mkinitrd which is dependent on lvm2. I downloaded and tried
to install rpm -ivf and -Uvf but I get a full screen of conflict messages
root@localhost Downloads]# rpm -Uvh 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
Clipped here so as not to bore anyone but there is a full page.
I tried to rpm -e on the old file = lvm-1.0.3-12 but I get the same dependency
error that is mkinitrd is dependent on lvm-1.0.3-12
Initially it wanted lvm2 but I can't download due to conflicts?
I'm still reading my books an now on the net.
If someone could tell me weather it is advisable to rpm -e nodeps lvm-1.0.3
and then install lvm2 or will that even work? Or is it likely to hang my
RH9 smp system hopelessly.
Thanks in advance
Gary
Re: 2.6 upgrade dependency problem
April 8, 2004 - 1:36pm AnonymousYou need to install both lvm and lvm2 to make mkinitrd-3.5 working
If lvm is already installed
install the lvm2 by rpm -Uvh --nodocs lvm2*
Then install or upgrade mkinitrd
Bye
Tirumal
reply