遇到了 ZFS 更新问题后,每次使用 apt 时,我都无法阻止它尝试构建 zfs-dkms。这非常烦人:
Setting up zfs-dkms (2.1.5-1ubuntu6~22.04.4) ...
Removing old zfs-2.1.5 DKMS files...
Deleting module zfs-2.1.5 completely from the DKMS tree.
Loading new zfs-2.1.5 DKMS files...
Building for 6.5.0-28-generic
Building initial module for 6.5.0-28-generic
configure: error:
*** None of the expected "bops->release()" interfaces were detected.
*** This may be because your kernel version is newer than what is
*** supported, or you are using a patched custom kernel with
*** incompatible modifications.
***
*** ZFS Version: zfs-2.1.5-1ubuntu6~22.04.4
*** Compatible Kernels: 3.10 - 5.19
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/zfs-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.5.0-28-generic (x86_64)
Consult /var/lib/dkms/zfs/2.1.5/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):
installed zfs-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
zfs-dkms
那么我该如何做呢:
- 解决问题
- 告诉 apt 忽略 zfs-dkms 更新
(非启动)zfs 池运行良好。解决方案是删除 zfs-dkms 吗?如果是,那么正在运行的池会怎样?我非常希望不要丢失池,并且必须从备份中恢复,因为它有 12TB,我真的没有时间重建它。