Installing zfs-2.2.5 on Linux 6.9.12-401.asahi.fc40.aarch64+16k kernel-devel conflicts

Title says 90% of the question. Is it possible to install ZFS (zfs-2.2.5) on Asahi Linux (Linux 6.9.12-401.asahi.fc40.aarch64+16k)? I am running the Server Edition.

I attempted to install kernel-devel and I got this response…

sudo dnf install “kernel-devel-uname-r == $(uname -r)”

Package kernel-16k-devel-6.9.12-401.asahi.fc40.aarch64 is already installed.

I’m a total newb, so the issue I have is a conflict between asahi-platform-metapackage and kernel-devels of various versions from fedorainfracloud.org… I think.

I downloaded the source from HERE.

I compiled it. Then I attempted an install. This was the result…

sudo dnf install --skip-broken zfs-dkms-2.2.5-1.fc40.noarch.rpm
Last metadata expiration check: 3:06:58 ago on Wed 07 Aug 2024 12:08:30 PM CDT.
allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
Dependencies resolved.

Problem: package zfs-dkms-2.2.5-1.fc40.noarch from @commandline requires kernel-devel >= 3.10, but none of the providers can be installed

  • package zfs-dkms-2.2.5-1.fc40.noarch from @commandline requires kernel-devel <= 6.9.999, but none of the providers can be installed
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.6.3-413.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.6.3-414.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.10-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.7-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.8-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.9-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.9-403.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.9-404.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.9-405.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.9-406.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.11-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.12-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.12-401.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.6-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.9-401.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.9-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.9-403.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.8.5-301.fc40.aarch64 from fedora
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts conflicts with kernel-devel provided by kernel-devel-6.9.12-200.fc40.aarch64 from updates
  • problem with installed package asahi-platform-metapackage-core-0-12.fc40.aarch64
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.6.3-413.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.6.3-414.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.10-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.7-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.8-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.9-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.9-403.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.9-404.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.9-405.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.9-406.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.11-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.12-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.12-401.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.6-400.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.9-401.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.9-402.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.9-403.asahi.fc40.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:kernel
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.8.5-301.fc40.aarch64 from fedora
  • package asahi-platform-metapackage-core-0-12.fc40.aarch64 from @System conflicts with kernel-devel provided by kernel-devel-6.9.12-200.fc40.aarch64 from updates
  • conflicting requests
    ==================================================================================================================================================================================================================================================================================================
    Package Architecture Version Repository Size
    ==================================================================================================================================================================================================================================================================================================
    Skipping packages with conflicts:
    (add ‘–best --allowerasing’ to command line to force their upgrade):
    kernel-devel aarch64 6.6.3-413.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.6.3-414.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.5-301.fc40 fedora 20 M
    kernel-devel aarch64 6.8.7-402.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.8-400.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.9-402.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.9-403.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.9-404.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.9-405.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.9-406.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.8.10-400.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.6-400.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.9-401.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.9-402.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.9-403.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.11-400.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.12-200.fc40 updates 20 M
    kernel-devel aarch64 6.9.12-400.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    kernel-devel aarch64 6.9.12-401.asahi.fc40 copr:copr.fedorainfracloud.org:group_asahi:kernel 17 M
    Skipping packages with broken dependencies:
    zfs-dkms noarch 2.2.5-1.fc40 @commandline 31 M

Transaction Summary

Skip 20 Packages

Nothing to do.
Complete!

I hope that is enough information to at least start working on the problem. Let me know if you need any other details.

The system gave me this advice…

Skipping packages with conflicts:
(add ‘–best --allowerasing’ to command line to force their upgrade):

Is this a wise course of action?

No, don’t do that.

This is a problem with the dependencies of the dkms package. It is asking explicitly for the kernel-devel package, but for Asahi we use kernel-16k-devel.

I’m not sure how you built that rpm, but you should be able to find a spec file if you built it from source. Look inside, find any references to kernel-devel, and replace them with kernel-16k-devel.

@ngompa can we do some kind of provides thing so this works as intended?

1 Like

That said, you should be aware that for Asahi we track upstream kernel releases closely. Any DKMS modules you have are likely to stop working after kernel version updates. For example, the one you have only supports up to kernel 6.9, while 6.10 is coming soon.

Therefore, you have to be very careful and deal with DKMS module breakage yourself. We can’t support third-party out of tree modules ourselves. In general, any usage of third-party modules will be an ongoing source of pain for distros that don’t pin kernel major versions for a release, like ours. It is simply not practical for us to maintain old LTS kernels like that.

1 Like

Not without causing it to break with the metapackage. This is something that needs to be fixed by OpenZFS upstream.

1 Like