Closed dasjoe closed 8 years ago
Running /etc/kernel/postinst.d/dkms
is the culprit, I'm not sure whether this issue is in pkg-zfs or upstream dkms.
Removing linux-image-extra-3.13.0-44-generic (3.13.0-44.73) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-44-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
Generating grub configuration file ...
I'm fairly certain this is a problem with dkms, which sucks. But it's what we got :(
Three factors here:
I will, therefore, close this ticket as a wontfix
in this repository.
Apparently dkms keeps modules built and installed for just a few (last 2?) kernel versions, older kernel's modules get removed even though the kernel package doesn't.
This causes dkms to build the spl and zfs modules when removing odler kernels, just to remove them once it built them.
Building ZFS on my N54L takes around 8 minutes, so I've been watching DKMS rebuild the modules for an hour or so by now.