我尝试使用yum update
更新服务器。但是,弹出以下错误:
==============================================================================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================================================================
Installing:
kernel x86_64 2.6.32-573.22.1.el6 updates 30 M
Removing:
kernel x86_64 2.6.32-220.el6 @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2 112 M
Updating for dependencies:
kernel-firmware noarch 2.6.32-573.22.1.el6 updates 18 M
Transaction Summary
==============================================================================================================================================================================================================================================
Install 1 Package(s)
Upgrade 1 Package(s)
Remove 1 Package(s)
Total size: 48 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
kernel(iscsi_add_session) = 0xec873e61 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_alloc_session) = 0x0c0f1826 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_block_session) = 0xe602f69c is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_create_conn) = 0x6ba1339a is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_free_session) = 0xcf334a45 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_register_transport) = 0x432a50aa is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_remove_session) = 0x503c7600 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_scan_finished) = 0x3f0b3981 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_session_chkready) = 0x56d25a63 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_session_event) = 0x4e05d68f is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_unblock_session) = 0x21fe1275 is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
kernel(iscsi_unregister_transport) = 0xfd06472f is needed by (installed) kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64
**Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_add_session) = ('0', '0xec873e61', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_alloc_session) = ('0', '0x0c0f1826', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_block_session) = ('0', '0xe602f69c', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_create_conn) = ('0', '0x6ba1339a', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_free_session) = ('0', '0xcf334a45', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_register_transport) = ('0', '0x432a50aa', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_remove_session) = ('0', '0x503c7600', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_scan_finished) = ('0', '0x3f0b3981', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_session_chkready) = ('0', '0x56d25a63', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_session_event) = ('0', '0x4e05d68f', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_unblock_session) = ('0', '0x21fe1275', None)
kmod-qlgc-qla4xxx-5.02.15.01.05.06-1.el6.x86_64 has missing requires of kernel(iscsi_unregister_transport) = ('0', '0xfd06472f', None)
这是yum install kernel
的输出,因为它似乎是说kmod需要一些内核版本。
操作系统:Centos 2.6.32-504.8.1.el6.x86_64
3条答案
按热度按时间m2xkgtsf1#
已修复:
问题是kmod需要一个旧的内核。安装新的内核会删除旧的内核,所以kmod会抱怨。安装新的kmod会需要新的内核,所以它成为一个循环依赖。
修复程序只是简单地进入yum.conf,改变保存内核版本的数量,这样它就可以保存多一个内核版本。我更新了内核,因为我可以保留另一个版本,所以错误没有弹出。然后我更新了kmod。我还没有决定删除旧的内核,但我确信如果我决定删除,它会没事的。
z0qdvdin2#
该kmod是为旧内核设计的,它要求非白名单符号具有特定签名。正在安装的内核具有与这些iscsi函数不同的签名,因此存在冲突,并停止安装。
573.22.1RHEL内核中的符号的签名:
请与Qlogic联系,查看他们是否有更新的驱动程序
m1m5dgzv3#
把yum.conf文件从3更新到5真是神奇地简单而有效!2这发布了一大堆被阻塞的更新