Public bug reported:

I just decided to test a new Ubuntu, so upgraded my 25.10 to 26.04.

Had no errors in console during upgrade, but after install system failed to 
properly reboot.
And after rebooting manually I found out that kernel 7.0 has no zfs support and 
fails to mount root.

Hopefully I was able to boot with my previous kernel 6.17.0-19-generic
and started to investigate and learned, that package linux-image-generic
is not properly installed, as it depends on linux-modules-zfs-generic
and if I try to install this one it requires a removal of   zfs-zed
zfsutils-linux packages.

And if I allow these to be removed, package fails installation as it
can't find zpool anymore.

Here's the console log:

sudo apt install --reinstall linux-image-generic
The following packages were automatically installed and are no longer required:
  libzfs7linux  libzpool7linux
Use 'sudo apt autoremove' to remove them.

Installing:
  linux-image-generic

Installing dependencies:
  linux-main-modules-zfs-7.0.0-7-generic

REMOVING:
  zfs-zed  zfsutils-linux

Summary:
  Upgrading: 0, Installing: 2, Removing: 2, Not Upgrading: 0
  Download size: 2 400 kB
  Space needed: 201 kB / 182 GB available

Continue? [Y/n]
Get:1 https://mirror.timeweb.ru/ubuntu resolute/main amd64v3 
linux-main-modules-zfs-7.0.0-7-generic amd64 7.0.0-7.7+1 [2 397 kB]
Get:2 https://mirror.timeweb.ru/ubuntu resolute/main amd64v3 
linux-image-generic amd64 7.0.0-7.7 [2 576 B]
Fetched 2 400 kB in 1s (2 720 kB/s)
(Reading database… 267555 files and directories currently installed.)
Removing zfs-zed (2.4.1-1ubuntu1)…
Removing zfsutils-linux (2.4.1-1ubuntu1)…
Selecting previously unselected package linux-main-modules-zfs-7.0.0-7-generic.
(Reading database… 267224 files and directories currently installed.)
Preparing to unpack 
…/linux-main-modules-zfs-7.0.0-7-generic_7.0.0-7.7+1_amd64.deb…
Unpacking linux-main-modules-zfs-7.0.0-7-generic (7.0.0-7.7+1)…
Selecting previously unselected package linux-image-generic.
Preparing to unpack …/linux-image-generic_7.0.0-7.7_amd64.deb…
Unpacking linux-image-generic (7.0.0-7.7)…
Setting up linux-main-modules-zfs-7.0.0-7-generic (7.0.0-7.7+1)…
Setting up linux-image-generic (7.0.0-7.7)…
Processing triggers for man-db (2.13.1-1build1)…
Processing triggers for linux-image-7.0.0-7-generic (7.0.0-7.7)…
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-7.0.0-7-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p2
I: (UUID=90cf11bf-de3d-4b02-ac5d-70820dd2efb4)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/kdump-tools:
kdump-tools: Generating /var/lib/kdump/initrd.img-7.0.0-7-generic
/usr/sbin/mkinitramfs: 545: zpool: not found
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-probe: error: failed to get canonical path of 
`rpool/ROOT/ubuntu_ad3ug5'.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-7.0.0-7-generic (--configure):
 old linux-image-7.0.0-7-generic package postinst maintainer script subprocess 
failed with exit status 1
Errors were encountered while processing:
 linux-image-7.0.0-7-generic
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Any clue how to resolve this issue?

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-modules-zfs-generic (not installed)
ProcVersionSignature: Ubuntu 6.17.0-19.19-generic 6.17.13
Uname: Linux 6.17.0-19-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 19 23:20:04 2026
InstallationDate: Installed on 2022-04-28 (1421 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: linux-main-signed
UpgradeStatus: Upgraded to resolute on 2026-03-19 (0 days ago)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session zfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144944

Title:
  Upgrade from 25.10 to 26.04 has issues with zfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2144944/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to