use what's described in Snapshot build for raspberry pi 5 opkg command not found - #4 by frollic, but for your device, then (sys)upgrade the device again by following https://openwrt.org/docs/guide-user/installation/sysupgrade.cli/.
regarding opkg, it's gone: The future is now: opkg vs apk - #29 by efahl.