3

I have a fresh system running Ubuntu 22.04.3 LTS and I installed ZFS from the repositories using:

apt install zfsutils-linux

This installed v2.2.0 and I'd like to update ZFS to the latest version 2.2.2. What is the best method to update?

$ sudo dmesg | grep ZFS
[ 3794.221856] ZFS: Loaded module v2.2.0-0ubuntu1~23.10, ZFS pool version 5000, ZFS filesystem version 5
$ zfs --version
zfs-2.1.5-1ubuntu6~22.04.2
zfs-kmod-2.2.0-0ubuntu1~23.10
Artur Meinild
  • 31,035
Tina
  • 51

1 Answers1

1

As others mentioned in the comments, Ubuntu is designed to hold on to (mostly) the same versions for stability, so ideally you'd wait for the next LTS release and upgrade you whole system together. With that said, there are a few options you may try, though be warned, all of them have their risks!

  1. Use Ubuntus package repository to download the .deb file for a newer Ubuntu version and manually install it on your system. This is highly discouraged, since it's likely to result in broken dependencies.
  2. Manually compile from source. Again, probably not something you'd want to do.
  3. Probably the best choice, if you absolutely must have the newest OpenZFS, is to use the following ppa, however, beware that this repo is not managed by Canonical but by a volunteer(s) and comes with the disclaimer This PPA comes with no warranty what-so-ever, so use it at your own risk!
Guiorgy
  • 121