LinuxSir.cn,穿越时空的Linuxsir!

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

升级内核的简单问题

[复制链接]
发表于 2004-11-10 09:29:34 | 显示全部楼层 |阅读模式
我按照Changes中的说明,升级相应的工具
可是nfs-utils
      procps
      oprofile
这三个用#rpm -e * 命令总是提示一些关联信息,卸不掉

不管它,直接安装,用#rpm -ivh (相应的新版本)
却总是提示有冲突,或者是需要什么

请朋友们帮帮忙!我该怎么办?
 楼主| 发表于 2004-11-10 12:45:07 | 显示全部楼层
具体情况如下:

[root@localhost kernel]# showmount --version
showmount for nfs-utils 1.0.1
[root@localhost kernel]# rpm -e nfs-utils
error: Failed dependencies:
        nfs-utils is needed by (installed) redhat-config-nfs-1.0.4-5
[root@localhost kernel]# rpm -ivh nfs-utils-1.0.6-20.i386.rpm
warning: nfs-utils-1.0.6-20.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        modutils >= 2.4.26-9 is needed by nfs-utils-1.0.6-20
[root@localhost kernel]# ps --version
procps version 2.0.11
[root@localhost kernel]# rpm -e procps
error: Failed dependencies:
        procps is needed by (installed) redhat-config-proc-0.21-1
        /bin/ps is needed by (installed) autofs-3.1.7-36
        /sbin/sysctl is needed by (installed) initscripts-7.14-1
[root@localhost kernel]# rpm -ivh procps-3.2.0-1.1.i386.rpm
warning: procps-3.2.0-1.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### [100%]
        file /bin/ps from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /sbin/sysctl from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/free from install of procps-3.2.0-1.1 conflicts with file
from package procps-2.0.11-6
        file /usr/bin/pgrep from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/pkill from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/pmap from install of procps-3.2.0-1.1 conflicts with file
from package procps-2.0.11-6
        file /usr/bin/skill from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/snice from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/tload from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/top from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/uptime from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/vmstat from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/w from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/bin/watch from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/free.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/pgrep.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/pkill.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/ps.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/skill.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/snice.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/tload.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/top.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/uptime.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/w.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man1/watch.1.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man5/sysctl.conf.5.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man8/sysctl.8.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
        file /usr/share/man/man8/vmstat.8.gz from install of procps-3.2.0-1.1 conflicts with file from package procps-2.0.11-6
[root@localhost kernel]# oprofiled --version
bash: oprofiled: command not found
[root@localhost kernel]# rpm -ivh oprofile-0.8-0.20040121.3.i386.rpm
warning: oprofile-0.8-0.20040121.3.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        libc.so.6(GLIBC_2.3.4) is needed by oprofile-0.8-0.20040121.3
发表于 2004-11-10 15:26:04 | 显示全部楼层
rpm -Uvh
 楼主| 发表于 2004-11-10 17:11:52 | 显示全部楼层
十分感谢konds!!
按照你说的方法, procps已经安装上了
可是  nfs-utils
         oprofile
这两个依然安装不上!

情况如下:
[root@localhost kernel]# rpm -Uvh nfs-utils-1.0.6-20.i386.rpm
warning: nfs-utils-1.0.6-20.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        modutils >= 2.4.26-9 is needed by nfs-utils-1.0.6-20

[root@localhost kernel]# rpm  -Uvh oprofile-0.8-0.20040121.3.i386.rpm
warning: oprofile-0.8-0.20040121.3.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2
a6fd2
error: Failed dependencies:
        libc.so.6(GLIBC_2.3.4) is needed by oprofile-0.8-0.20040121.3
 楼主| 发表于 2004-11-10 20:26:16 | 显示全部楼层
发表于 2004-11-10 21:04:45 | 显示全部楼层
你的modutils和GLIBC两个软件的版本低了。
 楼主| 发表于 2004-11-10 23:45:12 | 显示全部楼层
谢谢杨志全的回答!

[root@localhost kernel]# rpm -q modutils
modutils-2.4.22-8

我下载了modutils-2.4.27.tar.gz,编译并且安装
(要说明的是:我并没有卸载老的modutils-2.4.22-8,原因如下:
[root@localhost kernel]# rpm -e modutils
error: Failed dependencies:
        modutils >= 2.3.11-5 is needed by (installed) kudzu-0.99.99-1
        modutils >= 2.3.11-5 is needed by (installed) initscripts-7.14-1
        modutils >= 2.4.18 is needed by (installed) kernel-2.4.20-8
        modutils >= 2.3.21-4 is needed by (installed) irda-utils-0.9.14-9
        /sbin/insmod.static is needed by (installed) mkinitrd-3.4.42-1
)

[root@localhost kernel]# rpm -Uvh nfs-utils-1.0.6-20.i386.rpm
warning: nfs-utils-1.0.6-20.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        modutils >= 2.4.26-9 is needed by nfs-utils-1.0.6-20
 楼主| 发表于 2004-11-11 13:11:51 | 显示全部楼层
我是按照本版置顶的帖子   2.4->2.6内核升级指南 来升级内核的

遇到了上面的问题。
请同样是按照此帖升级内核的高手不吝赐教啊!
发表于 2004-11-11 13:18:57 | 显示全部楼层
没有用rpm升级过内核.......
 楼主| 发表于 2004-11-11 21:32:15 | 显示全部楼层
我也不是用rpm包升级内核!
我是要先升级相关的工具。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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