'openwrt Self-compiled firmware
I want to download wifidog from OpenWRt,then I execute the command: opkg update opkg install wifidog Error: root@OpenWrt:~# opkg install wifidog Package wifidog (1.3.0-6) installed in root is up to date. Collected errors:
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-reject
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-ipt
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-core
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-extra
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-ipopt
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-conntrack
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-nat
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-nat
- pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-nat-extra
These missing dependencies were selected when I compiled the firmware Why is that
I tried self-compiling the firmware, adding all the missing dependencies, repackaging, and reburning the firmware, but still got an error: missing dependencies
Solution 1:[1]
What is your kernel version? Are you in the same version as 5.10.107?
Also, did you try to download that ipk and manually install it? If you are sure that you did enable it at the kernel level, there is no harm in trying to install it with force overriding. Or you could run the binary directly to see if there is an error.
If you really need to make it works, you can always try to cross-compile this package for your kernel.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Justin Yu |