How to fix OpenWRT: Unknown package '...'
Problem:
You are trying to install an OpenWRT package using e.g.
openwrt_opkg_install.sh
opkg install luci-app-openvpnbut you see an error message like
openwrt_opkg_error.txt
Unknown package 'luci-app-openvpn'.
Collected errors:
* opkg_install_cmd: Cannot install package luci-app-openvpn.Solution
There are two different reasons why this error can occur:
- You forgot to run
openwrt_opkg_update.sh
opkg updateNote that you need to run opkg update after each reboot since the package lists are only stored in the RAM
2. The package actually doesn’t exist. Check
openwrt_opkg_list.sh
opkg listfor a list of packages that can be installed for your OpenWRT version and architecture. In very rare cases you might need to build a package from source if it isn’t available, or you might need to upgrade your OpenWRT version if that’s possible for your router.
Check out similar posts by category:
Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow