openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.9k stars 3.41k forks source link

auc: cannot determine currently running branch/invalid argument (22) #23843

Open trenchcoatjedi opened 3 months ago

trenchcoatjedi commented 3 months ago
# auc
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.2 r23630-842932a63d on x86/64 (generic)
WARNING: cannot determing currently running branch.
Invalid argument (22)

# auc -f -B 23.05 -n
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.2 r23630-842932a63d on x86/64 (generic)
Invalid argument (22)

Trying to perform attendedsysupgrade through the LUCI app also fails similarly.

Also "determing" is incorrect. Should read "determine."

patman-cp commented 3 months ago

I'm new to openwrt and was about to try my first upgrade, and was trying auc -c first.

Will this issue prevent an upgrade from working?

On my system I see:

root@OpenWrt:~# auc -c
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.2 r23630-842932a63d on bcm27xx/bcm2711 (raspberrypi,4-model-b)
WARNING: cannot determing currently running branch.
Invalid argument (22)
patman-cp commented 3 months ago

OK I could not apparently update using auc, so I used luci.

I still see the same behavior with 23.05.3:

root@OpenWrt:~# auc -c
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.3 r23809-234f1a2efa on bcm27xx/bcm2711 (raspberrypi,4-model-b)
WARNING: cannot determing currently running branch.
Invalid argument (22)
benhedrington commented 3 months ago

Seeing same behavior. x86/64

Opened auc issue #800

root@openwrt:~# auc
auc/0.3.2-1
Server:    https://sysupgrade.openwrt.org
Running:   23.05.2 r23630-842932a63d on x86/64 (generic)
WARNING: cannot determing currently running branch.
Invalid argument (22)