Package: zfs-dkmsVersion: 2.3.2-2
Severity: important

Dear Maintainer,

upgrading packages using apt from bookworm to trixie caused failure of a 
zfs-dkms installation.

Errors were encountered while processing:
 zfs-dkms
 zfs-zed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

The Bookworm system has not been reboot yet (to turn into Trixie), so I am 
under 6.1.0-37-amd64.

$ sudo apt reinstall zfsutils-linux
...
Installing /lib/modules/6.1.0-37-amd64/updates/dkms/zfs.ko
Installing /lib/modules/6.1.0-37-amd64/updates/dkms/spl.ko
Running depmod.... done.
dkms.conf: Error! Unsupported AUTOINSTALL value 'Y'

Error! Bad conf file.
File:  does not represent a valid dkms.conf file.

The error is false, because the file /usr/src/zfs-2.3.2/dkms.conf contains 
valid line:
AUTOINSTALL="yes"


$ find /lib/modules/$(uname -r)/ -type f -name '*.ko'|grep zfs

/lib/modules/6.1.0-37-amd64/updates/dkms/zfs.ko

ls -A1 /boot/vmlinuz*

/boot/vmlinuz-5.10.0-32-amd64

/boot/vmlinuz-6.12.38+deb13-amd64

$ dkms status

zfs/2.3.2, 6.1.0-37-amd64, x86_64: installed

Please kindly mention how to workaround this so the ZFS kernel module is 
installed.

More details: https://forums.debian.net/viewtopic.php?p=826481

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to