-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zfs-2.2.0-rc4 will not DKMS .deb install on Devuan Chimaera, errors out #15253
Comments
NOTE I tried reinstalling known-good zfs-2.1.10 and the zfs dkms package was wedged, would not downgrade or remove, getting same error 3 on pre-removal script. Followed instructions below and moved /var/lib/dpkg/info/zfs-dkms.prerm file out of the way, this allowed removal of the bad RC4 dkms .deb and re-install of 2.1.10 with a simple dpkg -i FIX: This may be an error in the RC4 pre-removal script(?) zfs 2.1.10 reinstalled OK from existing .deb packages and modprobe zfs worked OK. |
I have sort of the same issue. I built ZFS 2.2.0-0-RC4 debs from source on Ubuntu 22.04 LTS with So yeah, DKMS is broken with debs on 2.2.0-RC4. |
I tried to solve this issue and came up with: #15415 |
@behlendorf |
System information
Describe the problem you're observing
dpkg -i *deb
(Reading database ... 141838 files and directories currently installed.)
Preparing to unpack libnvpair3_2.2.0-0_amd64.deb ...
Unpacking libnvpair3 (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack libuutil3_2.2.0-0_amd64.deb ...
Unpacking libuutil3 (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack libzfs5_2.2.0-0_amd64.deb ...
Unpacking libzfs5 (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack libzfs5-devel_2.2.0-0_amd64.deb ...
Unpacking libzfs5-devel (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack libzpool5_2.2.0-0_amd64.deb ...
Unpacking libzpool5 (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack python3-pyzfs_2.2.0-0_amd64.deb ...
Unpacking python3-pyzfs (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack zfs_2.2.0-0_amd64.deb ...
Unpacking zfs (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack zfs-dkms_2.2.0-0_amd64.deb ...
Error! The module/version combo: zfs-2.2.0
is not located in the DKMS tree.
dpkg: warning: old zfs-dkms package pre-removal script subprocess returned error exit status 3
dpkg: trying script from the new package instead ...
Error! The module/version combo: zfs-2.2.0
is not located in the DKMS tree.
dpkg: error processing archive zfs-dkms_2.2.0-0_amd64.deb (--install):
new zfs-dkms package pre-removal script subprocess returned error exit status 3
Preparing to unpack zfs-dracut_2.2.0-0_amd64.deb ...
Unpacking zfs-dracut (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack zfs-initramfs_2.2.0-0_amd64.deb ...
Unpacking zfs-initramfs (2.2.0-0) over (2.2.0-0) ...
Preparing to unpack zfs-test_2.2.0-0_amd64.deb ...
Unpacking zfs-test (2.2.0-0) over (2.2.0-0) ...
Setting up libnvpair3 (2.2.0-0) ...
Setting up libuutil3 (2.2.0-0) ...
Setting up libzfs5 (2.2.0-0) ...
Setting up libzfs5-devel (2.2.0-0) ...
Setting up libzpool5 (2.2.0-0) ...
Setting up python3-pyzfs (2.2.0-0) ...
Setting up zfs (2.2.0-0) ...
Setting up zfs-dracut (2.2.0-0) ...
Setting up zfs-initramfs (2.2.0-0) ...
Setting up zfs-test (2.2.0-0) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
zfs-dkms_2.2.0-0_amd64.deb
modprobe zfs # Fails
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.10.0-25-amd64
Describe how to reproduce the problem
I uninstalled all previous existing ZFS .deb packages first
Then compile zfs from source (have done this many times before)
Issue still occurs after reboot and updating all installed packages + latest kernel version
Not finding any further info in sys logs
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: