Sorry for a noob question.
How do you upgrade your system when a new kernel is released and zfs-linux
was just updated to depend on that new kernel version?
So, like in this case:
(1) Previously installed version of zfs-linux
depends on linux=5.13.4.arch1-1
(2) New kernel 5.13.5.arch1.1-1
is released
(3) zfs-linux's
PKGBUILD gets updated to depend on the latest kernel version 5.13.5.arch1.1-1
(4) Now, when trying to upgrade the system by running yay
, the following error is thrown
error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux (5.13.5.arch1-1) breaks dependency 'linux=5.13.4.arch1-1' required by zfs-linux
So, what do you do in this case? Do you delete zfs-linux
and upgrade the system and install it back? Or there is some other way to upgrade kernel and zfs-linux
at the same time?
Pinned Comments
lightdot commented on 2025-02-04 21:19 (UTC) (edited on 2025-03-27 13:02 (UTC) by lightdot)
This package will be kept in sync with the openzfs latest stable release and the kernels officially supported by it.
For the supported kernel versions, refer to the respective openzfs release notes (LINK).
E.g. openzfs 2.3.1 supports kernel versions 4.18 - 6.13. When the kernel 6.14 is released for Arch, zfs-linux will not be updated until the openzfs project announces that it's compatible. This will most likely happen with the next openzfs release.
The kernel compatibility of the upcoming openzfs release can be seen in their META file (LINK).
For those wishing to use openzfs with unsupported kernels, do note that this could lead to serious issues, including data loss, even though such a zfs-linux package might build and install cleanly. Have reliable backups and use such a package at your peril.
Please do not mark this package as out of date without checking the kernel compatibility first. Thank you!