Package Details: zfs-dkms 2.1.1-1

Git Clone URL: https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://zfsonlinux.org/
Licenses: CDDL
Conflicts: spl-dkms
Provides: SPL-MODULE=2.1.1, ZFS-MODULE=2.1.1, spl-dkms, zfs
Replaces: spl-dkms
Submitter: isiachi
Maintainer: eschwartz (jonathon)
Last Packager: jonathon
Votes: 120
Popularity: 4.13
First Submitted: 2015-08-31 12:01
Last Updated: 2021-10-01 10:41

Required by (18)

Sources (3)

Latest Comments

« First ‹ Previous ... 5 6 7 8 9 10 11 12 13 14 15 ... Next › Last »

FrederickZh commented on 2020-05-24 00:22

As I mentioned you need to upgrade both packages in a single transaction (which is also what the error messages were talking about). Build them first, then [yay|pacman] -U them.

Marius_Elvenwood commented on 2020-05-24 00:17

@fryfrog Thanks for your suggestion, unfortunately it had the same result.
@FrederickZh I navigated to ~/.cache/yay/zfs-dkms/ and ran makepkg --install, since yay had already created it.

resolving dependencies...
warning: cannot resolve "zfs-utils=0.8.4", a dependency of "zfs-dkms"
:: The following package cannot be upgraded due to unresolvable dependencies:
      zfs-dkms

:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'zfs-utils=0.8.4' required by zfs-dkms

FrederickZh commented on 2020-05-23 23:24

No, you have to manually makepkg them since yay by default builds and installs AUR packages one by one instead of building them all then starting a combined installation transaction. Not sure whether this behaviour can be changed or not. Tried yay --combinedupgrade --save but apparently this only changes the 'AUR questions after official repo' behaviour.

fryfrog commented on 2020-05-23 22:37

Can't you just yay -S zfs-dkms zfs-utils?

Marius_Elvenwood commented on 2020-05-23 22:34

Hi all, longtime Arch user but new to the community. I'm trying to upgrade zfs-dkms (0.8.3-3) and zfs-utils (0.8.3-1) using yay, I'm getting the following error

zfs-utils=0.8.4 not satisfied, flushing install queue
[sudo] password for oscar: 
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing zfs-utils (0.8.4-1) breaks dependency 'zfs-utils=0.8.3' required by zfs-dkms

How can I resolve this issue and how can I upgrade to the latest version?

sfranchi commented on 2020-05-11 18:06

Same result when running as root, same uninformative make.log

BUT:

there is an additional line in the output to console that may help:

make -j2 KERNELRELEASE=5.4.39-1-lts -C module/...(bad exist status:2)

Or maybe not

eschwartz commented on 2020-05-11 17:59

Try rerunning dkms install zfs/0.8.3 -k 5.4.39-1-lts as root to get the full error log.

sfranchi commented on 2020-05-11 17:54

I cannot install version 0.8.3 on a system running the 5.4.39-1-lts kernel (latest lts kernel as of today).

The initial build process concludes successfully (but see below), then dkms fails with this message:

==> dkms install zfs/0.8.3 -k 5.4.39-1-lts
configure: error: 
        *** Unable to build an empty module.

Error! Bad return status for module build on kernel: 5.4.39-1-lts (x86_64)
Consult /var/lib/dkms/zfs/0.8.3/build/make.log for more information.

The log is not very helpful:

DKMS make.log for zfs-0.8.3 for kernel 5.4.39-1-lts (x86_64)
Mon 11 May 2020 12:45:19 PM CDT
make: Entering directory '/var/lib/dkms/zfs/0.8.3/build/module'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/var/lib/dkms/zfs/0.8.3/build/module'
/var/lib/dkms/zfs/0.8.3/build/make.log (END)

Perhaps something went wrong earlier in the build process?

eschwartz commented on 2020-05-01 15:53

(please use markdown to post command output)

"It broke" isn't very useful debug info. If you cannot find the make.log, try rerunning the dkms install ... command in question manually, since it is only the pacman hook that hides the output.

Zod commented on 2020-05-01 15:50

I just updated to 5.6.8 and the kernel modules built fine.

The only thing I did different is, I was on 5.6.8 briefly and then downgraded back to 5.6.7 (testing dracut) a couple of days ago. I have a make.log if anyone might find it interesting.