When upgrading from 19.04 to 19.10 with ZFS Root Pool, Upgrader removed zfsutils-linux

Bug #1850872 reported by Strntydog
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

I just upgraded from 18.10 to 19.04 and then to 19.10.

I have had ZFS installed in this machine for years. My Root pool is on LUKS encrypted SSD's which are morrored by ZFS.

The upgrade from 18.10 to 19.04 worked as expected with no errors. And I was able to reboot, unlock the disks and boot ubuntu 19.04 fine.

When i then did the upgrade to 19.10 using do-release-upgrade, I got errors installing grub, the 5.3 kernel and friendly-recovery
They reported that they could not find my root pool.

I did not reboot after the upgrade, and tried to run zpool to see if there was any issue and found zpool was not installed after the do-release-upgrade. It WAS installed prior to running do-release-upgrade.

So do-release-upgrade did not upgrade my previous zfsutils-linux package, it seems to have removed it.

Without rebooting, i ran:
sudo apt install zfsutils-linux zfs-initramfs zfs-zed
All of these packages were missing, and they installed correctly.
strangely however the zfs-dkms package was upgraded correctly and still installed.

This caused the initramfs to be rebuilt, and grub to report no more errors, fixing the issue for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.