[Pkg-zfsonlinux-devel] Bug#940238: ZFS on Linux fails to install under Buster (dependency problems)

TarotApprentice tarotapprentice at yahoo.com
Sat Sep 14 13:08:31 BST 2019


Package: zfs-dkms
Version: 0.7.12

Install of zfs-dkms fails to install under Buster.

Steps to reproduce
1. Clean install Debian Buster (I used netinst 10.1).
2. After install add contrib to the apt/sources.list
3. Do an apt update
4. Do an apt install linux-headers-amd64
4. Do an apt install zfs-dkms zfsutils-linux

Result
apt install zfs-dkms zfsutils-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  build-essential dkms dpkg-dev fakeroot g++ g++-8 gcc libalgorithm-diff-perl   libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libelf-dev   libfakeroot libfile-fcntllock-perl libnvpair1linux libstdc++-8-dev   libuutil1linux libzfs2linux libzpool2linux make patch spl-dkms zfs-zed   zlib1g-dev 

Suggested packages:
   python3-apport debian-keyring g++-multilib g++-8-multilib gcc-8-doc   libstdc++6-8-dbg gcc-multilib autoconf automake libtool flex bison gdb   gcc-doc git bzr libstdc++-8-doc make-doc ed diffutils-doc spl   nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
   build-essential dkms dpkg-dev fakeroot g++ g++-8 gcc libalgorithm-diff-perl   libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libelf-dev   libfakeroot libfile-fcntllock-perl libnvpair1linux libstdc++-8-dev   libuutil1linux libzfs2linux libzpool2linux make patch spl-dkms zfs-dkms   zfs-zed zfsutils-linux zlib1g-dev
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 
Need to get 18.5 MB of archives. 
After this operation, 71.1 MB of additional disk space will be used. 
Do you want to continue? [Y/n]
Get:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:2 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libdpkg-perl all 1.19.7 [1,414 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1,773 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libstdc++-8-dev amd64 8.3.0-6 [1,532 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian buster/main amd64 g++-8 amd64 8.3.0-6 [9,752 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian buster/main amd64 g++ amd64 4:8.3.0-1 [1,644 B]
Get:9 http://cdn-fastly.deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7,576 B] Get:10 http://cdn-fastly.deb.debian.org/debian buster/main amd64 dkms all 2.6.1-4 [74.4 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1 [214 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libelf-dev amd64 0.176-1.1 [72.1 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian buster/main amd64 spl-dkms all 0.7.12-2 [400 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 zfs-dkms all 0.7.12-2+deb10u1 [1,400 kB]
Get:15 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
Get:16 http://cdn-fastly.deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
Get:19 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
Get:20 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libfile-fcntllock-perl amd64 0.22-3+b5 [35.4 kB]
Get:21 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 libuutil1linux amd64 0.7.12-2+deb10u1 [49.9 kB]
Get:22 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 libnvpair1linux amd64 0.7.12-2+deb10u1 [47.3 kB]
Get:23 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 libzpool2linux amd64 0.7.12-2+deb10u1 [571 kB]
Get:24 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 libzfs2linux amd64 0.7.12-2+deb10u1 [140 kB]
Get:25 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 zfsutils-linux amd64 0.7.12-2+deb10u1 [292 kB]
Get:26 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 zfs-zed amd64 0.7.12-2+deb10u1 [64.2 kB]
Fetched 18.5 MB in 8s (2,189 kB/s)
Preconfiguring packages ... 
Selecting previously unselected package gcc. (Reading database ... 191449 files and directories currently installed.) 
Preparing to unpack .../00-gcc_4%3a8.3.0-1_amd64.deb ... 
Unpacking gcc (4:8.3.0-1) ... 
Selecting previously unselected package libdpkg-perl. 
Preparing to unpack .../01-libdpkg-perl_1.19.7_all.deb ... 
Unpacking libdpkg-perl (1.19.7) ... 
Selecting previously unselected package patch. 
Preparing to unpack .../02-patch_2.7.6-3+deb10u1_amd64.deb ... 
Unpacking patch (2.7.6-3+deb10u1) ... 
Selecting previously unselected package make. 
Preparing to unpack .../03-make_4.2.1-1.2_amd64.deb ... 
Unpacking make (4.2.1-1.2) ... 
Selecting previously unselected package dpkg-dev. 
Preparing to unpack .../04-dpkg-dev_1.19.7_all.deb ... 
Unpacking dpkg-dev (1.19.7) ... 
Selecting previously unselected package libstdc++-8-dev:amd64. 
Preparing to unpack .../05-libstdc++-8-dev_8.3.0-6_amd64.deb ... 
Unpacking libstdc++-8-dev:amd64 (8.3.0-6) ... 
Selecting previously unselected package g++-8. 
Preparing to unpack .../06-g++-8_8.3.0-6_amd64.deb ... 
Unpacking g++-8 (8.3.0-6) ... 
Selecting previously unselected package g++. 
Preparing to unpack .../07-g++_4%3a8.3.0-1_amd64.deb ... 
Unpacking g++ (4:8.3.0-1) ... 
Selecting previously unselected package build-essential. 
Preparing to unpack .../08-build-essential_12.6_amd64.deb ...
 Unpacking build-essential (12.6) ... 
Selecting previously unselected package dkms. 
Preparing to unpack .../09-dkms_2.6.1-4_all.deb ... 
Unpacking dkms (2.6.1-4) ... 
Selecting previously unselected package zlib1g-dev:amd64. 
Preparing to unpack .../10-zlib1g-dev_1%3a1.2.11.dfsg-1_amd64.deb ... 
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ... 
Selecting previously unselected package libelf-dev:amd64. 
Preparing to unpack .../11-libelf-dev_0.176-1.1_amd64.deb ... 
Unpacking libelf-dev:amd64 (0.176-1.1) ... 
Selecting previously unselected package spl-dkms. 
Preparing to unpack .../12-spl-dkms_0.7.12-2_all.deb ... 
Unpacking spl-dkms (0.7.12-2) ... 
Setting up gcc (4:8.3.0-1) ... 
Setting up libdpkg-perl (1.19.7) ... 
Setting up patch (2.7.6-3+deb10u1) ... 
Setting up make (4.2.1-1.2) ... 
Setting up dpkg-dev (1.19.7) ... 
Setting up dkms (2.6.1-4) ... 
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ... 
Setting up libelf-dev:amd64 (0.176-1.1) ... 
Setting up spl-dkms (0.7.12-2) ...
Loading new spl-0.7.12 DKMS files...
Building for 4.19.0-6-amd64 Building initial module for 4.19.0-6-amd64
 Done.
spl.ko: Running module version sanity check.
- Original module 
  - No original module exists within this kernel  
- Installation  
 - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
splat.ko: Running module version sanity check.
 - Original module  
  - No original module exists within this kernel 
 - Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 

depmod...

DKMS: install completed.
Selecting previously unselected package zfs-dkms. (Reading database ... 193160 files and directories currently installed.)
Preparing to unpack .../00-zfs-dkms_0.7.12-2+deb10u1_all.deb ...
Unpacking zfs-dkms (0.7.12-2+deb10u1) ... 
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../01-libfakeroot_1.23-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.23-1) ...
Selecting previously unselected package fakeroot. 
Preparing to unpack .../02-fakeroot_1.23-1_amd64.deb ... 
Unpacking fakeroot (1.23-1) ... 
Selecting previously unselected package libalgorithm-diff-perl. 
Preparing to unpack .../03-libalgorithm-diff-perl_1.19.03-2_all.deb ... 
Unpacking libalgorithm-diff-perl (1.19.03-2) ... 
Selecting previously unselected package libalgorithm-diff-xs-perl. 
Preparing to unpack .../04-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... 
Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... 
Selecting previously unselected package libalgorithm-merge-perl. 
Preparing to unpack .../05-libalgorithm-merge-perl_0.08-3_all.deb ... 
Unpacking libalgorithm-merge-perl (0.08-3) ... 
Selecting previously unselected package libfile-fcntllock-perl. 
Preparing to unpack .../06-libfile-fcntllock-perl_0.22-3+b5_amd64.deb ... 
Unpacking libfile-fcntllock-perl (0.22-3+b5) ... 
Selecting previously unselected package libuutil1linux.
 Preparing to unpack .../07-libuutil1linux_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking libuutil1linux (0.7.12-2+deb10u1) ... 
Selecting previously unselected package libnvpair1linux. 
Preparing to unpack .../08-libnvpair1linux_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking libnvpair1linux (0.7.12-2+deb10u1) ... 
Selecting previously unselected package libzpool2linux. 
Preparing to unpack .../09-libzpool2linux_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking libzpool2linux (0.7.12-2+deb10u1) ... 
Selecting previously unselected package libzfs2linux. 
Preparing to unpack .../10-libzfs2linux_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking libzfs2linux (0.7.12-2+deb10u1) ... 
Selecting previously unselected package zfsutils-linux. 
Preparing to unpack .../11-zfsutils-linux_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking zfsutils-linux (0.7.12-2+deb10u1) ... 
Selecting previously unselected package zfs-zed. 
Preparing to unpack .../12-zfs-zed_0.7.12-2+deb10u1_amd64.deb ... 
Unpacking zfs-zed (0.7.12-2+deb10u1) ... 
Setting up libuutil1linux (0.7.12-2+deb10u1) ... 
Setting up libfile-fcntllock-perl (0.22-3+b5) ... 
Setting up libalgorithm-diff-perl (1.19.03-2) ... 
Setting up libfakeroot:amd64 (1.23-1) ... 
Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 
Setting up zfs-dkms (0.7.12-2+deb10u1) ... 
Loading new zfs-0.7.12 DKMS files... 
Building for 4.19.0-6-amd64 
Building initial module for 4.19.0-6-amd64 
Done. 
zavl.ko: 
Running module version sanity check. 
 - Original module 
   - No original module exists within this kernel 
 - Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
znvpair.ko: 
Running module version sanity check. 
 - Original module 
   - No original module exists within this kernel 
 - Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
zunicode.ko: 
Running module version sanity check. 
 - Original module  
  - No original module exists within this kernel 
 - Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
zcommon.ko: 
Running module version sanity check.
- Original module 
   - No original module exists within this kernel  
- Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
zfs.ko:
 Running module version sanity check. 
 - Original module 
   - No original module exists within this kernel 
 - Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
zpios.ko:
 Running module version sanity check. 
 - Original module  
  - No original module exists within this kernel  
- Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
 icp.ko: Running module version sanity check. 
 - Original module  
  - No original module exists within this kernel  
- Installation  
  - Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/ 
depmod... 
DKMS: install completed. 
Setting up libnvpair1linux (0.7.12-2+deb10u1) ... 
Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... 
Setting up libalgorithm-merge-perl (0.08-3) ... 
Setting up libstdc++-8-dev:amd64 (8.3.0-6) ... 
Setting up libzpool2linux (0.7.12-2+deb10u1) ... 
Setting up g++-8 (8.3.0-6) ... 
Setting up libzfs2linux (0.7.12-2+deb10u1) ... 
Setting up zfsutils-linux (0.7.12-2+deb10u1) ... 
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-cache.service → /lib/systemd/system/zfs-import-cache.service. 
Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-import.target → /lib/systemd/system/zfs-import.target. 
Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target → /lib/systemd/system/zfs-import.target. 
Created symlink /etc/systemd/system/zfs-share.service.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service. 
Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service. 
Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service → /lib/systemd/system/zfs-share.service. 
Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target → /lib/systemd/system/zfs.target. zfs-import-scan.service is a disabled or a static unit, not starting it. 
Job for zfs-mount.service failed because the control process exited with error code. 
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zfs-mount, action "start" failed. 
* zfs-mount.service 
- Mount ZFS filesystems  
  Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)    
Active: failed (Result: exit-code) since Sat 2019-09-14 20:52:07 AEST; 9ms ago      
Docs: man:zfs(8)   
Process: 5291 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE) 
Main PID: 5291 (code=exited, status=1/FAILURE) 
Sep 14 20:52:07 store2 systemd[1]: Starting Mount ZFS filesystems... 
Sep 14 20:52:07 store2 zfs[5291]: The ZFS modules are not loaded. 
Sep 14 20:52:07 store2 zfs[5291]: Try running '/sbin/modprobe zfs' as root to load them. 
Sep 14 20:52:07 store2 systemd[1]: zfs-mount.service: Main process exited, code=exited,status=1/FAILURE
Sep 14 20:52:07 store2 systemd[1]: zfs-mount.service: Failed with result 'exit-code'. Sep 14 20:52:07 store2 systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):  
installed zfsutils-linux package post-installation script subprocess returned error exit status 1 
Setting up g++ (4:8.3.0-1) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 
Setting up build-essential (12.6) ... 
dpkg: dependency problems prevent configuration of zfs-zed:  zfs-zed depends on zfsutils-linux (>= 0.7.12-2+deb10u1); however:   Package zfsutils-linux is not configured yet. 
dpkg: error processing package zfs-zed (--configure):  dependency problems - leaving unconfigured 
Processing triggers for systemd (241-7~deb10u1) ... 
Processing triggers for man-db (2.8.5-2) ...
 Processing triggers for libc-bin (2.28-10) ... 
Errors were encountered while processing: 
 zfsutils-linux  
 zfs-zed 
E: Sub-process /usr/bin/dpkg returned an error code (1) 



More information about the Pkg-zfsonlinux-devel mailing list