无法 yum 安装 vdo kmod-kvdo

无法 yum 安装 vdo kmod-kvdo

我正在尝试安装 kmod-kvdo 和 vdo 但出现这些错误。

yum install vdo
Loaded plugins: fastestmirror, langpacks, openvz, priorities
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                     | 4.5 kB     00:00
 * base: mirror.domainhizmetleri.com
 * epel: hkg.mirror.rackspace.com
 * extras: centos.vargonen.com
 * nux-dextop: mirror.li.nux.ro
 * openvz-os: ftp.nluug.nl
 * openvz-updates: ftp.nluug.nl
 * updates: mirror.isimtescil.com.tr
base                                                     | 3.6 kB     00:00
epel                                                     | 4.7 kB     00:00
extras                                                   | 2.9 kB     00:00
nux-dextop                                               | 2.9 kB     00:00
openvz-os                                                | 3.9 kB     00:00
openvz-updates                                           | 3.0 kB     00:00
updates                                                  | 2.9 kB     00:00
(1/3): updates/7/x86_64/primary_db                         | 3.0 MB   00:10
(2/3): epel/x86_64/updateinfo                              | 1.0 MB   00:23
(3/3): epel/x86_64/primary_db                              | 6.8 MB   00:45
153 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package vdo.x86_64 0:6.1.3.4-4.el7 will be installed
--> Processing Dependency: kmod-kvdo >= 6.1 for package: vdo-6.1.3.4-4.el7.x86_64
--> Running transaction check
---> Package kmod-kvdo.x86_64 0:6.1.3.7-5.el7 will be installed
--> Processing Dependency: kernel(dm_unregister_target) = 0xeeeae71b for package: kmod-kvdo-6.1.3.7-5.el7.x86_64
--> Processing Dependency: kernel(dm_register_target) = 0x979ddcc5 for package: kmod-kvdo-6.1.3.7-5.el7.x86_64
--> Processing Dependency: kernel(dm_put_device) = 0x412d503d for package: kmod-kvdo-6.1.3.7-5.el7.x86_64
--> Processing Dependency: kernel(dm_get_device) = 0xa425b4a9 for package: kmod-kvdo-6.1.3.7-5.el7.x86_64
--> Finished Dependency Resolution
Error: Package: kmod-kvdo-6.1.3.7-5.el7.x86_64 (base)
           Requires: kernel(dm_put_device) = 0x412d503d
           Installed: kernel-3.10.0-862.11.6.el7.x86_64 (@updates)
               kernel(dm_put_device) = 0xe484e3b5
           Installed: vzkernel-3.10.0-1062.4.2.vz7.116.7.x86_64 (@openvz-os)
               kernel(dm_put_device) = 0x74e56bb4
           Installed: vzkernel-3.10.0-1127.8.2.vz7.151.14.x86_64 (@openvz-os)
               kernel(dm_put_device) = 0x3dd977c7
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel(dm_put_device) = 0x821aceef
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(dm_put_device) = 0x821aceef
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(dm_put_device) = 0x821aceef
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(dm_put_device) = 0x821aceef
           Available: vzkernel-debug-3.10.0-1127.8.2.vz7.151.14.x86_64 (openvz-os)
               kernel(dm_put_device) = 0x0c584695
Error: Package: kmod-kvdo-6.1.3.7-5.el7.x86_64 (base)
           Requires: kernel(dm_unregister_target) = 0xeeeae71b
           Installed: kernel-3.10.0-862.11.6.el7.x86_64 (@updates)
               kernel(dm_unregister_target) = 0x35ba4186
           Installed: vzkernel-3.10.0-1062.4.2.vz7.116.7.x86_64 (@openvz-os)
               kernel(dm_unregister_target) = 0x50a1f28d
           Installed: vzkernel-3.10.0-1127.8.2.vz7.151.14.x86_64 (@openvz-os)
               kernel(dm_unregister_target) = 0x0d9db791
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel(dm_unregister_target) = 0xed37721f
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(dm_unregister_target) = 0xed37721f
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(dm_unregister_target) = 0xed37721f
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(dm_unregister_target) = 0xed37721f
           Available: vzkernel-debug-3.10.0-1127.8.2.vz7.151.14.x86_64 (openvz-os)
               kernel(dm_unregister_target) = 0x74d53bbe
Error: Package: kmod-kvdo-6.1.3.7-5.el7.x86_64 (base)
           Requires: kernel(dm_register_target) = 0x979ddcc5
           Installed: kernel-3.10.0-862.11.6.el7.x86_64 (@updates)
               kernel(dm_register_target) = 0xd3f9ecc7
           Installed: vzkernel-3.10.0-1062.4.2.vz7.116.7.x86_64 (@openvz-os)
               kernel(dm_register_target) = 0xc644c4ca
           Installed: vzkernel-3.10.0-1127.8.2.vz7.151.14.x86_64 (@openvz-os)
               kernel(dm_register_target) = 0xaf21d309
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel(dm_register_target) = 0xb38b6b62
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(dm_register_target) = 0xb38b6b62
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(dm_register_target) = 0xb38b6b62
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(dm_register_target) = 0xb38b6b62
           Available: vzkernel-debug-3.10.0-1127.8.2.vz7.151.14.x86_64 (openvz-os)
               kernel(dm_register_target) = 0x5cfd362a
Error: Package: kmod-kvdo-6.1.3.7-5.el7.x86_64 (base)
           Requires: kernel(dm_get_device) = 0xa425b4a9
           Installed: kernel-3.10.0-862.11.6.el7.x86_64 (@updates)
               kernel(dm_get_device) = 0x602cd186
           Installed: vzkernel-3.10.0-1062.4.2.vz7.116.7.x86_64 (@openvz-os)
               kernel(dm_get_device) = 0x4b672758
           Installed: vzkernel-3.10.0-1127.8.2.vz7.151.14.x86_64 (@openvz-os)
               kernel(dm_get_device) = 0x105d3ca0
           Available: kernel-debug-3.10.0-1127.el7.x86_64 (base)
               kernel(dm_get_device) = 0x7daf0344
           Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates)
               kernel(dm_get_device) = 0x7daf0344
           Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates)
               kernel(dm_get_device) = 0x7daf0344
           Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates)
               kernel(dm_get_device) = 0x7daf0344
           Available: vzkernel-debug-3.10.0-1127.8.2.vz7.151.14.x86_64 (openvz-os)
               kernel(dm_get_device) = 0xf754ea18
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

答案1

VDO 及其内核模块是专门为相关 RHEL/CentOS 内核构建的。但是,您的服务器使用的是 OpenVZ,它使用自定义内核。目前不支持将 VDO 与自定义内核一起使用。

为了安装它,您需要获取 kmod-kvdo 的源 RPM,然后针对您希望它与之配合的特定 vzkernel 重建 RPM。并且您可能还需要对其进行自定义,因为它需要 而不是kernelvzkernel您需要对每个内核更新重复此过程。

答案2

看起来 yum 中有一个错误,导致无法安装,而且由于兼容性问题,它可能无法工作。正在寻找解决方法。

相关内容