[Bug 1850872] [NEW] When upgrading from 19.04 to 19.10 with ZFS Root Pool, Upgrader removed zfsutils-linux

Strntydog 1850872 at bugs.launchpad.net
Fri Nov 1 01:21:56 UTC 2019


Public bug reported:

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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: do-release-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1850872

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

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1850872/+subscriptions



More information about the foundations-bugs mailing list