I think what described is also the case for archzfs repository. I also use archzfs and I get the same error often. I just wait until the packages get updated with working dependencies. Flagging the package as out-of-date might help the maintainers become aware of the issue.
Search Criteria
Package Details: zfs-linux 2.3.3_6.15.5.arch1.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zfs-linux.git (read-only, click to copy) |
---|---|
Package Base: | zfs-linux |
Description: | Kernel modules for the Zettabyte File System. |
Upstream URL: | https://openzfs.org/ |
Keywords: | kernel linux openzfs zfs |
Licenses: | CDDL |
Groups: | archzfs-linux |
Conflicts: | spl-dkms, spl-dkms-git, spl-linux, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-linux-git, zfs-linux-rc |
Provides: | spl, zfs |
Replaces: | spl-linux |
Submitter: | demizer |
Maintainer: | lightdot |
Last Packager: | lightdot |
Votes: | 276 |
Popularity: | 0.44 |
First Submitted: | 2016-04-21 08:45 (UTC) |
Last Updated: | 2025-07-07 00:44 (UTC) |
Dependencies (4)
- kmod (kmod-gitAUR)
- linux
- zfs-utilsAUR (zfs-linux-gitAUR, zfs-utils-gitAUR, zfs-utils-staging-gitAUR)
- linux-headers (make)
Required by (19)
- cockpit-zfs-manager (requires zfs)
- prepare-lastboot (requires zfs)
- python-pyzfscmds (requires zfs)
- targetd (optional)
- targetd-git (optional)
- zbectl-git (requires zfs)
- zectl (requires zfs)
- zectl-git (requires zfs)
- zedenv (requires zfs)
- zedenv-git (requires zfs)
- zedenv-grub (requires zfs)
- zfs-auto-snapshot (requires zfs)
- zfs-auto-snapshot-git (requires zfs)
- zfsbootmenu (requires zfs)
- zfsbootmenu-efi-bin (requires zfs)
- znapzend (requires zfs)
- znapzupport (requires zfs)
- zsnapd (requires zfs)
- zxfer (requires zfs)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 79 Next › Last »
dmp1ce commented on 2019-05-05 00:08 (UTC)
Ruli commented on 2019-05-05 00:04 (UTC)
Hi @dmp1ce, thanks for your reply! Sorry, I should have clarified before that I'm using the archzfs repo. I remember in the past that I would have to manually update the dependencies, but ever since using the archzfs repo I didn't have to do this anymore. Anyway, I will do a manual update first then. Thank you once again!
dmp1ce commented on 2019-05-04 23:49 (UTC)
@Ruli that is typical with this package. The reason is because of a dependency on a specific linux version. I don't know the reason for the specific linux version but I assume it is for a good reason. I think there has been some work on automating the new releases when new linux kernels comes out but I'm not sure about the details.
Someone please correct me where I am wrong.
Ruli commented on 2019-05-04 23:38 (UTC)
Hi, when I tried to do pacman -Syu today, I got the following message:
resolving dependencies... warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "spl-linux" warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "spl-linux-headers" warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "spl-linux" warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "zfs-linux" warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "spl-linux" warning: cannot resolve "linux=5.0.10.arch1-1", a dependency of "zfs-linux-headers" :: The following packages cannot be upgraded due to unresolvable dependencies: spl-linux spl-linux-headers zfs-linux zfs-linux-headers
Is anyone else seeing this as well? Thanks in advance!
ozkan.kirik commented on 2018-11-10 16:45 (UTC)
Dependency zfs-utils-common is missing. So package couldn't be compiled
minextu commented on 2018-07-21 04:04 (UTC) (edited on 2018-07-22 07:34 (UTC) by minextu)
Hi everyone, as you might know: I'm the new Maintainer of archzfs (https://github.com/archzfs/archzfs/issues/262). As soon as I get access to the archzfs.com domain, I will update all packages. I've implemented an automated build system to help update packages faster in the future. The new gpg key for the repo is F75D9D76 ArchZFS Bot <buildbot@archzfs.com>
. If you are using the archzfs repo, you will need to add this key to pacman's trusted key list.
pacman-key -r F75D9D76
pacman-key --lsign-key F75D9D76
Edit: Packages are now up to date on archzfs.com. The temporary domain is no longer needed
whitesnow commented on 2018-07-19 16:41 (UTC)
I'm not the person, to answer that. But what I read here: https://github.com/archzfs/archzfs/issues/260
sounds very positive. There is even a temporary domain set up now. Read yourself there.
sonix07 commented on 2018-07-19 14:02 (UTC)
I'm aware of the maintainer change, but will this package get an update in the near future or is the dkms version the way to go now?
jgerecke commented on 2018-06-02 17:55 (UTC) (edited on 2018-06-02 18:12 (UTC) by jgerecke)
May I suggest modifying the PKGBUILD and zfs.install script to make it both easier to update and easier to verify that new updates (e.g. through aurman) aren't malicious? The following patch puts the ZFS and kernel versions into variables that we reuse rather than hardcoding strings in a half-dozen places. It also has the install script determine the kernel version automagically from the version string passed in by pacman. Similar modifications could/should be made to other packages (e.g. spl).
diff --git a/PKGBUILD b/PKGBUILD
index 6f1a8a3..5369240 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,24 +17,26 @@
pkgbase="zfs-linux"
pkgname=("zfs-linux" "zfs-linux-headers")
-pkgver=0.7.9.4.16.11.1
+zfsver=0.7.9
+kernelver=4.16.11-1
+pkgver="${zfsver}.$(echo ${kernelver} | tr '-' '.')"
pkgrel=1
-makedepends=("linux-headers=4.16.11-1" "spl-linux-headers")
+makedepends=("linux-headers=${kernelver}" "spl-linux-headers")
arch=("x86_64")
url="http://zfsonlinux.org/"
-source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.9/zfs-0.7.9.tar.gz")
+source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${zfsver}/zfs-${zfsver}.tar.gz")
sha256sums=("f50ca2441c6abde4fe6b9f54d5583a45813031d6bb72b0011b00fc2683cd9f7a")
license=("CDDL")
-depends=("kmod" "spl-linux" "zfs-utils-common=0.7.9" "linux=4.16.11-1")
+depends=("kmod" "spl-linux" "zfs-utils-common=${zfsver}" "linux=${kernelver}")
build() {
- cd "${srcdir}/zfs-0.7.9"
+ cd "${srcdir}/zfs-${zfsver}"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \
- --libexecdir=/usr/lib/zfs-0.7.9 --with-config=kernel \
- --with-linux=/usr/lib/modules/4.16.11-1-ARCH/build \
- --with-linux-obj=/usr/lib/modules/4.16.11-1-ARCH/build
+ --libexecdir=/usr/lib/zfs-${zfsver} --with-config=kernel \
+ --with-linux=/usr/lib/modules/${kernelver}-ARCH/build \
+ --with-linux-obj=/usr/lib/modules/${kernelver}-ARCH/build
make
}
@@ -45,7 +47,7 @@ package_zfs-linux() {
groups=("archzfs-linux")
conflicts=('zfs-linux-git')
replaces=("zfs-git")
- cd "${srcdir}/zfs-0.7.9"
+ cd "${srcdir}/zfs-${zfsver}"
make DESTDIR="${pkgdir}" install
cp -r "${pkgdir}"/{lib,usr}
rm -r "${pkgdir}"/lib
@@ -56,9 +58,9 @@ package_zfs-linux() {
package_zfs-linux-headers() {
pkgdesc="Kernel headers for the Zettabyte File System."
conflicts=('zfs-archiso-linux-headers' 'zfs-archiso-linux-git-headers' 'zfs-linux-hardened-headers' 'zfs-linux-hardened-git-headers' 'zfs-linux-lts-headers' 'zfs-linux-lts-git-headers' 'zfs-linux-git-headers' 'zfs-linux-vfio-headers' 'zfs-linux-vfio-git-headers' 'zfs-linux-zen-headers' 'zfs-linux-zen-git-headers' )
- cd "${srcdir}/zfs-0.7.9"
+ cd "${srcdir}/zfs-${zfsver}"
make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}/lib"
# Remove reference to ${srcdir}
- sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.16.11-1-ARCH/Module.symvers
+ sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/${kernelver}-ARCH/Module.symvers
}
diff --git a/zfs.install b/zfs.install
index eda162b..cc32a25 100644
--- a/zfs.install
+++ b/zfs.install
@@ -1,20 +1,21 @@
post_install() {
- check_initramfs
+ check_initramfs "$1"
}
post_remove() {
- check_initramfs 'remove'
+ check_initramfs "$1" 'remove'
}
post_upgrade() {
- check_initramfs
+ check_initramfs "$1"
}
check_initramfs() {
+ KERNELVER=$(echo "$1" | rev | cut -d'-' -f2 | cut -d'.' -f1-4 | sed 's/\./-/' | rev)
echo ">>> Updating ZFS module dependencies"
- depmod -a 4.16.11-1-ARCH
+ depmod -a ${KERNELVER}-ARCH
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
- if [[ ${MK_CONF} == '0' && $1 == 'remove' ]]; then
+ if [[ ${MK_CONF} == '0' && $2 == 'remove' ]]; then
echo '>>> The ZFS packages have been removed, but "zfs" remains in the "hooks"'
echo '>>> list in mkinitcpio.conf! You will need to remove "zfs" from the '
echo '>>> "hooks" list and then regenerate the initial ramdisk.'
Pinned Comments
lightdot commented on 2025-02-04 21:19 (UTC) (edited on 2025-06-20 15:33 (UTC) by lightdot)
This package will be kept in sync with the latest openzfs 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.3 supports kernel versions 4.18 - 6.15. When kernel 6.16 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.
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!