Using 21.02.2 packages and upgrade kernel on x86 (21.02.1)?

Hi all!

Maybe stupid what I want but I now I can change the /etc/opkg/distfeeds.conf from 21.02.1 to 21.02.2 and use that packages but for example the opkg update works fine but when I give opkg list-upgradable I got errors, I think because the newer release using newer kernel.

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-57dcfbca1f3225678d24912f782b4e67) for kmod-cfg80211
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-57dcfbca1f3225678d24912f782b4e67) for kmod-mac80211
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-57dcfbca1f3225678d24912f782b4e67) for kmod-mt76-core
bla-bla-bla-bla

I'm using now x86_64 squashfs-combined.img with pleasure around few weeks now so I don't wanna ruining my system just ask is there possible update the kernel and use newer packages without reinstall needed?
Thank you!

You can’t change the dist feeds without first updating the openwrt image you are using. There are differences in the kernel version which is why the new package feeds are not compatible with the version of OpenWrt you have installed (and this the errors you are seeing).

Update the entire system to 21.02.2 and it will include the update for the dist feeds so that everything is compatible.

2 Likes

Yeah thanks this is what I'm thinked. But there is a simple way to do that without need to reinstall all installed packages? Now it's everything installed what I need don't wanna f**king up the system.

There is the attended sysupgrade which will automatically evaluate your installed packages, make a custom image that includes everything you currently have installed, then download and install it. It will retain your configurations, too.

2 Likes

Thank you! But it's seems it's not working on my case:
https://github.com/aparcar/asu/issues/318

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.