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.65
First Submitted: 2015-08-31 12:01
Last Updated: 2021-10-01 10:41

Required by (18)

Sources (3)

Latest Comments

« First ‹ Previous ... 24 25 26 27 28 29 30 31 32 33 34 ... Next › Last »

dreieck commented on 2017-04-13 10:47

For the package 'zfs-dkms', please add

conflicts=('zfs-linux') (It does, in fact)
and
provices=("zfs-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on zfs-linux).

(I am referencing to conflicts and dependencies with the packages at the repository
[archzfs]
Server = http://archzfs.com/$repo/x86_64)


For the package 'zfs-utils', please add

conflicts=('zfs-utils-linux') (It does, in fact)
and
provices=("zfs-utils-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on zfs-linux).

(I am referencing to conflicts and dependencies with the packages at the repository
[archzfs]
Server = http://archzfs.com/$repo/x86_64)

dreieck commented on 2017-04-13 10:45

For the package "spl-dkms", please add

conflicts=('spl-linux') (It does, in fact)
and
provices=("spl-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on spl-linux).


For the package "spl-utils", please add

conflicts=('spl-utils-linux') (It does, in fact)
and
provices=("spl-utils-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on spl-linux).


(I am referencing to conflicts and dependencies with the packages at the repository
[archzfs]
Server = http://archzfs.com/$repo/x86_64)

Anonymous comment on 2017-04-12 09:31

@masteroman I have the same issue, I use an alpm hook (https://www.archlinux.org/pacman/alpm-hooks.5.html) to workaround it:

1. Place this hook in /usr/share/libalpm/hooks/60-dkms-install-zfs.hook, this should execute before the default 70-dkms-install.hook

[Trigger]
Operation = Install
Operation = Upgrade
Type = File
Target = usr/src/sql-*/dkms.conf
Target = usr/src/zfs-*/dkms.conf
Target = usr/lib/modules/*/kernel/

[Action]
Description = Installing ZFS
Depends = dkms
When = PostTransaction
Exec = /usr/share/libalpm/hooks/dkms-install-zfs

2. Place this script in the same directory as the hook and make it executable:

#!/bin/bash

set -o errexit
set -o nounset
set -o xtrace

install_module() {
local module="${1}"
local kernel="${2}"
for m in $(ls /usr/src); do
if [[ "${m}" =~ ^"${module}"-(.*)$ ]]; then
dkms install "${module}/${BASH_REMATCH[1]}" -k "${kernel}"
fi
done
}

for kernel in $(ls /usr/lib/modules); do
if [[ -d "/usr/lib/modules/${kernel}/kernel" ]]; then
install_module spl "${kernel}"
install_module zfs "${kernel}"
fi
done

this will make sure spl gets installed before zfs, it works for my setup.

@isiachi would you consider adding something like this to be part of this package to make it work out of the box?

masteroman commented on 2017-04-07 10:05

Am I wrong or there's wrong order of DKMS installations? Every upgrade of the kernel on my machine fails because of the missing SPL which happens because there's following order of commands:

1. DKMS removes spl and zfs kernel modules
2. DKMS installs zfs kernel module --> fails because of the missing spl module
3. DKMS installs spl module

Then I need to manually issue dkms install zfs module.

RubenKelevra commented on 2017-03-13 16:55

@thunderforce I don't try to _install_ but update the package, don't know how you got the thought I would try to install it.

@isiachi Nope, you package is broken not an aurhelper script. This is a plane stupid "works for me" reason from your side.

If you say "my package need version=xyz" and you want to upgrade the package and the next version has the dependency "I need version=abc" it cannot be upgraded. As well as the dependency cannot be upgraded, because it's a needed dependency with this version for an installed version.

I would say, yes this could be fixed in pacman, if they add a layer of complexity: copy all installed package versions, change them to the new versions and checking all constrains. But since this is not done, your package uses a not compatible way of adding a constrain.

Since you update both packages at the same time, you could simply add a "higher than xyz" on the zfs package and it would work while updating.

RubenKelevra commented on 2017-03-13 16:44

This package is now again not working with the official kernel package since the compability patches for Linux 4.10 are missing. Please fix this

bus commented on 2017-03-12 17:05

@fow0ryl
I use zfs-dkms and I have no problem installing zfs-auto-snapshot-git either with pacaur or with makepkg.
Try downloading the PKGBUILD file and installing it with makepkg.

fow0ryl commented on 2017-03-10 19:23

I'm new on manjaro (arch based linux). So I may be wrong.
But to me, it looks like that "provides zfs" in zfs-dkms doesn't work.
I have zfs running, so I'm sure that zfs-dkms works as expected.
But when I try to install i.e. zfs-auto-snapshot-git, which depends on zfs it doesn't recognise "zfs" and try's to install linux...-zfs.
Then when I remove depends('zfs') or change is to depends('zfs-dkms') in PKGBUILD of zfs-auto-snapshot-git everything went fine.
When I do a "pacman -R zfs" I get "not found" too.

isiachi commented on 2017-02-20 20:47

@thunderforce
Thanks for the help!

I have already explained that is a aur helper related problem in this comment:
isiachi commented on 2016-09-20 19:45

thunderforce commented on 2017-02-20 07:55

@RubenKelevra, not sure why you're trying to install this package, but while trying to use VirtualBox and a google search I ended up here. This fixed the DKMS hook for me:

wget https://archive.archlinux.org/packages/l/linux-headers/linux-headers-4.9.8-1-x86_64.pkg.tar.xz
sudo pacman -U linux-headers-4.9.8-1-x86_64.pkg.tar.xz

..
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install vboxhost/5.1.14_OSE -k 4.9.8-1-ARCH
(2/2) Arming ConditionNeedsUpdate...
..

hope it's helpful