Centos7
無法 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
VDO 尤其是它的核心模組是專門為相關的 RHEL/CentOS 核心建構的。但是,您的伺服器具有使用自定義核心的 OpenVZ。目前不支持將 VDO 與自定義核心一起使用。
為了安裝它,您需要獲取 kmod-kvdo 的源 RPM,然後針對您希望它使用的特定 vzkernel 重建 RPM。並且可能您也需要自定義它,因為它會期望 a
kernel
而不是vzkernel
. 您需要為每次核心更新重複此過程。