Error message: zfs-dkms and linux59-zfs are in conflict

I’m getting the following error when running either sudo pacman -Syyu or yay -Syyu.

What am I doing wrong?

EDIT:

$ yay -S linux59-zfs                                                    [1]
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing zfs-utils (2.0.0-2) breaks dependency 'zfs-utils=0.8.5' required by zfs-dkms

And also:

yay -S zfs-dkms                                                       [1]
resolving dependencies...
looking for conflicting packages...
:: zfs-dkms and linux59-zfs are in conflict (zfs). Remove linux59-zfs? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: zfs-dkms and linux59-zfs are in conflict

Thanks.

Trying to upgrade my home server today and I am seeing almost identical output.

An excerpt from the bottom of my sudo pacman -Syu --debug output:

debug: started resolving dependencies
debug: checkdeps: package zfs-dkms-2.0.0-1
debug: checkdeps: missing dependency 'zfs-utils=2.0.0' for package 'zfs-dkms'
debug: checkdeps: missing dependency 'dkms' for package 'zfs-dkms'
debug: finished resolving dependencies
looking for conflicting packages...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: package zfs-dkms conflicts with linux59-zfs (by zfs)
debug: conflicting packages in the sync list: 'zfs-dkms' <-> 'linux59-zfs'
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: zfs-dkms and linux59-zfs are in conflict

Any ideas? Should I try to upgrade zfs-utils first?

Normally I’d try and navigate this myself but I am very reluctant to take extra risks on a home server. Advice is appreciated.

I am also having the same error with both pacman and pamac.

Thanks

It appears that zfs-utils replaces zfs-dkms. I simply removed the package and then applied my updates.

$ sudo pacman -R zfs-dkms

$ sudo pacman -Syu

Rebooted, zfs 2.0 loaded my keys, mounted all my datasets. After reboot kernel 5.9 was replaced with kernel 5.10.

$ uname -a
Linux dldsk01 5.10.2-2-MANJARO #1 SMP PREEMPT Tue Dec 22 08:14:42 UTC 2020 x86_64 GNU/Linux

$ pacman -Q zfs-utils
zfs-utils 2.0.0-2

$ pacman -Q zfs
linux510-zfs 2.0.0-8

Everything is mostly fine… docker seems good, but snapd stuff got toasted.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.