Type | Version/Name
--- | ---
Distribution Name | Centos
Distribution Version | CentOS Linux release 7.4.1708 (Core)
Linux Kernel | 3.10.0-693.21.1.el7.x86_64
Architecture | x86_64
ZFS Version | (0:0.7.7-1.el7_4)
SPL Version | (0.7.7)
Last update on Centos 7.4 repo has a broken dependency with kmod. So installation or update is failing.
configure zfs.repo to enable [zfs-kmod] and to disable [zfs]
```
[zfs]
name=ZFS on Linux for EL7 - dkms
baseurl=http://download.zfsonlinux.org/epel/7.4/$basearch/
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
[zfs-kmod]
name=ZFS on Linux for EL7 - kmod
baseurl=http://download.zfsonlinux.org/epel/7.4/kmod/$basearch/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
3. yum install zfs
### Include any warning/errors/backtraces from the system logs
Output of yum install:
#yum install zfs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
same problem here, happens also when you try to install "zfs-0.7.6-1.el7_4.x86_64", there is some problem with the naming of the dependencies
[root@somewhere ~]# yum install zfs-0.7.6-1.el7_4.x86_64
Loaded plugins: ovl, priorities
256 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package zfs.x86_64 0:0.7.6-1.el7_4 will be installed
--> Processing Dependency: zfs-kmod = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: spl = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libzpool2 = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libzfs2 = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libuutil1 = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libnvpair1 = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libzpool.so.2()(64bit) for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libzfs_core.so.1()(64bit) for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libzfs.so.2()(64bit) for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libuutil.so.1()(64bit) for package: zfs-0.7.6-1.el7_4.x86_64
--> Processing Dependency: libnvpair.so.1()(64bit) for package: zfs-0.7.6-1.el7_4.x86_64
--> Running transaction check
---> Package kmod-zfs.x86_64 0:0.7.6-1.el7_4 will be installed
--> Processing Dependency: spl-kmod for package: kmod-zfs-0.7.6-1.el7_4.x86_64
---> Package libnvpair1.x86_64 0:0.7.6-1.el7_4 will be installed
---> Package libuutil1.x86_64 0:0.7.6-1.el7_4 will be installed
---> Package libzfs2.x86_64 0:0.7.6-1.el7_4 will be installed
---> Package libzpool2.x86_64 0:0.7.6-1.el7_4 will be installed
---> Package spl.x86_64 0:0.7.6-1.el7_4 will be installed
--> Processing Dependency: spl-kmod = 0.7.6 for package: spl-0.7.6-1.el7_4.x86_64
--> Running transaction check
---> Package kmod-spl.x86_64 0:0.7.7-1.el7_4 will be installed
--> Processing Dependency: spl = 0.7.7 for package: kmod-spl-0.7.7-1.el7_4.x86_64
zfs-kmod/x86_64/filelists_db | 119 kB 00:00:00
---> Package spl.x86_64 0:0.7.6-1.el7_4 will be installed
--> Processing Dependency: spl = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
--> Running transaction check
---> Package spl.x86_64 0:0.7.6-1.el7_4 will be installed
--> Processing Dependency: spl = 0.7.6 for package: zfs-0.7.6-1.el7_4.x86_64
---> Package spl.x86_64 0:0.7.7-1.el7_4 will be installed
--> Finished Dependency Resolution
Error: Package: zfs-0.7.6-1.el7_4.x86_64 (zfs-kmod)
Requires: spl = 0.7.6
Available: spl-0.6.5.11-1.el7_4.x86_64 (zfs-kmod)
spl = 0.6.5.11-1.el7_4
Available: spl-0.7.1-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.1-1.el7_4
Available: spl-0.7.2-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.2-1.el7_4
Available: spl-0.7.3-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.3-1.el7_4
Available: spl-0.7.4-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.4-1.el7_4
Available: spl-0.7.4-2.el7_4.x86_64 (zfs-kmod)
spl = 0.7.4-2.el7_4
Available: spl-0.7.5-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.5-1.el7_4
Available: spl-0.7.6-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.6-1.el7_4
Installing: spl-0.7.7-1.el7_4.x86_64 (zfs-kmod)
spl = 0.7.7-1.el7_4
Error: Package: spl-0.7.6-1.el7_4.x86_64 (zfs-kmod)
Requires: spl-kmod = 0.7.6
Available: kmod-spl-0.6.5.11-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.6.5.11-1.el7_4
Available: kmod-spl-0.7.1-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.1-1.el7_4
Available: kmod-spl-0.7.2-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.2-1.el7_4
Available: kmod-spl-0.7.3-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.3-1.el7_4
Available: kmod-spl-0.7.4-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.4-1.el7_4
Available: kmod-spl-0.7.4-2.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.4-2.el7_4
Available: kmod-spl-0.7.5-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.5-1.el7_4
Available: kmod-spl-0.7.6-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.6-1.el7_4
Installing: kmod-spl-0.7.7-1.el7_4.x86_64 (zfs-kmod)
spl-kmod = 0.7.7-1.el7_4
Available: kmod-spl-3.10.0-229.11.1.el7.x86_64-0.6.5.2-1.el7.cern.x86_64 (cern)
spl-kmod = 0.6.5.2-1.el7.cern
Available: kmod-spl-3.10.0-229.11.1.el7.x86_64-0.6.5.3-1.el7.cern.x86_64 (cern)
spl-kmod = 0.6.5.3-1.el7.cern
Available: kmod-spl-3.10.0-229.14.1.el7.x86_64-0.6.5.2-1.el7.cern.x86_64 (cern)
spl-kmod = 0.6.5.2-1.el7.cern
Available: kmod-spl-3.10.0-229.14.1.el7.x86_64-0.6.5.3-1.el7.cern.x86_64 (cern)
spl-kmod = 0.6.5.3-1.el7.cern
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Same here. Specifically zfs is requires spl-0.7.6 even though spl-0.7.7 is the the correct package, and spl-0.7.7 is installed in the latest update.
Yea sorry, looks like the zfs-kmod 0.7.7 rpm is missing :-( I'm building a new one. In the meantime you can use the dkms build (which does work on centos 7.4).
Wow, I'm glad I found this. Im running into the same issue.
I thought maybe I followed the steps incorrectly or something.
Is that a coincidence that the last straw of DKMS breaking during some new kernel releases (RHEL 7_4), and switched to the kABI tracking method, within 12 hours of the OP?
So, I guess what your saying is I need to put back in DKMS, then wait for the zfs-kmod package to be repaired? Will do! Thanks for shedding light on that, helps VERY much!!
Try the zfs-kmod build again, I uploaded the missing packages. It's working for me on centos 7.4.
I confirm this is also working on my side.
Just in case anyone else hits this. I had to run yum clean all and then yum update to get it working again. Thanks to the devs for the quick fix. :)
Most helpful comment
Try the zfs-kmod build again, I uploaded the missing packages. It's working for me on centos 7.4.