Opkg missing from Snapshot - R28515

OpenWrt SNAPSHOT r28515-70610a5240 / LuCI Master 25.005.74981~65c86ed

Netgear Nighthawk X4S R7800

Updated a snapshot using Attended Sysupgrade and it seem that opkg is missing from the build. (tried via luci and terminal)

root@R7800:~# opkg update
-ash: opkg: not found

Just want to know what my best options are here, do I wait for a new snapshot or try to roll back? Everything else in the build seems to be working so far.

Can opkg be added via the cli?

1 Like

apk has replaced opkg in SNAPSHOT

2 Likes

installing snapshot you have apk

if you want to keep opkg you will have to:
https://firmware-selector.openwrt.org/?version=24.10.0-rc5&target=ipq806x%2Fgeneric&id=netgear_r7800

2 Likes

Thanks!

Seems like apk is also n ot on this snapshot so I assume next step is to move to 24.10 rc5?

root@R7800:~# apk
-ash: apk: not found

if you want to have apk

verify that this package is present in the required build:

apk-mbedtls

immagine

starting from here you should have the package already installed...

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ipq806x%2Fgeneric&id=netgear_r7800

I haven't tested myself, but most likely Attended Sysupgrade (I guess you used the LuCI app?) didn't understand that the opkg package should be replaced by apk, resulting in an image which has neither apk or opkg.

If you don't have apk installed, I guess the simplest way would be to install the sysupgrade again, either SNAPSHOT (then you get apk) or a 24.10 release candidate (then you get opkg). I've been running 24.10.0-rc2 for a few weeks on my own R7800 without any issues.

You could also try to use the LuCI app and manually change the package list in the UI to include apk, that should solve not having a package manager as well.

2 Likes

Thanks for this and the different options.
Solved by adding apk-mbedtls to the packages list in Attended Sysupgrade and packages updates works again.

1 Like

Hmm, seems like it should be picked up by all the ASU clients: https://github.com/openwrt/asu/blob/main/asu/config.py#L31

1 Like

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