Kinoite does not have either yum or dnf so the akmods script is able to build the kmod-nvidia…rpm but cannot install it. The file should be located as /var/cache/akmods/nvidia/kmod-nvidia-6.15.5-200.fc42.x86_64.rpm so it could be installed with rpm-ostree the same as any other package being layered.
Maybe try installing that package directly from the local cache tree.
No results. Ye i will just back to my latest OS again. That just doesn’t make sense. I installed everything from rpm-ostree, so why the akmods is built upon to use dnf & yum like im running this in Fedora Workstation? I really don’t understand. Thank you guys for the support, but i will not continue trying to solve this issue; Also, i noticed that the drivers intalled from sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda are all old. Since it returned /build/nvidia/src/common/inc/nv-linux.h:76:10: fatal error: drm/drmP.h: No such file or directory as it is requiring drmP.h which is not used/available in the latest kernel version.
If you need NVIDIA on Atomic Desktops or Bootable Containers, my personal recommendation would be to use or derive from one of the images provided by the Universal Blue project. This is also noted in the official Fedora Kinoite user guide.
rpm-ostree isn’t resolving the package requires properly, elfutils-libelf-devel is required to compile nvidia.
File your issue against the broken rpm-ostree package.
leigh@leigh-pc:~/Desktop$ rpm -qR akmods |grep elf
pkgconfig(libelf)
leigh@leigh-pc:~/Desktop$ rpm -e elfutils-libelf-devel
error: Failed dependencies:
elfutils-libelf-devel is needed by (installed) kernel-devel-6.15.3-200.fc42.x86_64
elfutils-libelf-devel is needed by (installed) kernel-devel-6.15.4-200.fc42.x86_64
elfutils-libelf-devel is needed by (installed) kernel-devel-6.15.5-200.fc42.x86_64
elfutils-libelf-devel(x86-64) = 0.193-2.fc42 is needed by (installed) elfutils-devel-0.193-2.fc42.x86_64
pkgconfig(libelf) is needed by (installed) libbpf-devel-2:1.5.0-2.fc42.x86_64
pkgconfig(libelf) = 0.193 is needed by (installed) elfutils-devel-0.193-2.fc42.x86_64
pkgconfig(libelf) is needed by (installed) akmods-0.6.0-9.fc42.noarch