I'm running a snanpshot image (that I built from sources) on the Raspberry Pi 4B. The reason I'm not running an official stable release is that there is not yet support for 64-bit OpenWRT image on the Raspberry Pi 4B.
When I try to install the luci-proto-wireguard package, I get an error message about a dependency that cannot be satisfied.
opkg install luci-proto-wireguard
Installing luci-proto-wireguard (git-20.234.32633-60ce87a) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a72/luci/luci-proto-wireguard_git-20.234.32633-60ce87a_all.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-proto-wireguard:
* kernel (= 5.4.69-1-5fc9900e8b1e0242b528b65d7b7fe094)
* opkg_install_cmd: Cannot install package luci-proto-wireguard.
The dependency is a kernel. I'm not proficient enough in Linux to understand what this means. Can someone explain to me why the output complains about the kernel version and what can be done about it when one runs a snapshot image?
When you get the message “Cannot satisfy the following dependencies for…” it is most likely because you installed a snapshot version of OpenWrt.
Read here for possible solutions.
I followed the link, but it doesn't really help me figure it out. Option #4 at the link (Use persistent snapshots for kmods) seems to be what I need. I reviewed the /etc/opkg/distfeeds.conf file, and here's it's content:
So, the src/gz openwrt_kmods entry is not in the disfeeds.conf file. But I don't know what HTTPS URL that entry should have.
I've also gone over the make menuconfig utility, but I can't find an option to incorporate the Use persistent snapshots for kmods option so that I can have it pre-built into the OpenWRT snapshot image.
Simple option is to simply update to the latest snapshot and then install all the packages you need right away (snapshot packages can become out-of-sync with your installed snapshot version very quickly at times, depending on what is changing).
You can also clone the repo for that snapshot to your computer so that you have a local copy and then you can build and install additional packages as needed.
So, it took two days, and there's now again a kernel version mismatch between a package I'm trying to download luci-app-sqm and the kernel version of my OpenWRT build.
The kmods repository provides kernel modules for multiple kernel versions/builds, so you can install missing kernel modules for your current build later.
But this approach doesn't seem to work for the luci repository, because there's no per-build sub-directories and it depends on the latest kernel version.