Unable to install new packages due to kernel version

Hello. I have a linksys router, EA7500 v2 running the latest stable release. I'm unable to install any packages because of the kernel version not being 5.10. I did check the config and it is supposed to download packages for 5.4 version.
Here is the distfeeds:
src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/5.4.150-1-fc07c47d7cd2b5d5d3866327c3410b2f
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony

How can i install packages for 5.4 kernel?

What version of OpenWrt are you running? Seems like you must be running an outdated snapshot?

Update to a new snapshot and then you'll be able to install packages in the near term. Or, if you don't need to be on snapshot, install the latest stable release (21.02.1 as of this moment).

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.

1 Like

Thanks for the quick reply.

I might've installed a snapshot image as i was not aware. Here is the version:
OpenWrt SNAPSHOT r17677-f82c93b93c / LuCI Master git-21.226.86205-376af36|
Kernel Version |5.4.150|

Is it possible to update to a stable version and keep the existing config?

Possibly, but because it is always plausible that there are differences in the way the config files or underlying architecture function, it is advisable to simply backup your settings and then deselect the "keep settings" checkbox. You can use your config files as a reference to recreate your configuration, or you can evaluate the default config files and, assuming they all have the same syntax, you can restore them to the router.

How complex is your setup? In most cases, the configurations are relatively simple and it takes only a few minutes to reconfigure from scratch. If you have complex setup, that could be a wild underestimate.

Not too complex. Wireguard vpn, bunch of firewall rules, disabled ipv6. got it working correctly with windows dhcp. It was a little bit of a mission to get it all working correctly. The router hasn't crashed and is up for 4month, same for vpn. It is also a drive...

I need to add some kind of QoS because Voip is acting up... Otherwise id leave it running without touching it.

It is possible to manually install the right versions. This is highly risky and you have already invested significant resources on a working setup. I am hesitant to advise you further.

Happy holidays.