Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
We got this error when trying to install ZFS on a server recently:
Error: Package: kmod-zfs-0.7.13-1.el7_6.x86_64 (zfs-kmod) Requires: kernel(posix_acl_valid) = 0x7add44b5 Installed: kernel-3.10.0-1127.19.1.el7.x86_64 (@updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-3.10.0-1127.el7.x86_64 (base) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-3.10.0-1127.8.2.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-3.10.0-1127.10.1.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-3.10.0-1127.13.1.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-3.10.0-1127.18.2.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.el7.x86_64 (base) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.8.2.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.10.1.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.13.1.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.18.2.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 Available: kernel-debug-3.10.0-1127.19.1.el7.x86_64 (updates) kernel(posix_acl_valid) = 0xc89bfa92 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
We did a little digging and it turns out that we were installing the ZFS package list file for CentOS 7.4, this worked fine for us through to CentOS 7.7, but the kernel was updated with the release of CentOS 7.8 and this broke the installation.
Fixing this is pretty straight forward, remove the existing ZFS repo file and download the version file corresponding with your OS version from here
Since we’re doing this on Centos 7.8 we’re technically supposed to use the version that corresponds with this but their repository was throwing forbidden errors at the time of writing this article.
libnvpair1-0.7.13-1.el7_6.x86_ FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/libnvpair1-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/. libuutil1-0.7.13-1.el7_6.x86_6 FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/libuutil1-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. libzfs2-0.7.13-1.el7_6.x86_64. FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/libzfs2-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. libzpool2-0.7.13-1.el7_6.x86_6 FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/libzpool2-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. spl-0.7.13-1.el7_6.x86_64.rpm FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/spl-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. spl-dkms-0.7.13-1.el7_6.noarch FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/spl-dkms-0.7.13-1.el7_6.noarch.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. zfs-0.7.13-1.el7_6.x86_64.rpm FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/zfs-0.7.13-1.el7_6.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. zfs-dkms-0.7.13-1.el7_6.noarch FAILED http://download.zfsonlinux.org/epel/7.8/x86_64/zfs-dkms-0.7.13-1.el7_6.noarch.rpm: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror.
We started going down the versions and version 7.6 worked for us
yum install http://download.zfsonlinux.org/epel/zfs-release.el7_6.noarch.rpm
You can now proceed with the installation
yum install zfs