Skip to content

luci-app-package-manager: Unable to execute apk update command: SyntaxError: Unexpected end of JSON input #8496

@dhdaines

Description

@dhdaines

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

Image

Actual behaviour

NOTE: This is most likely the same problem as #6569 but many things have changed since 2023, and I did not have this issue with 24.10.2 and opkg, so it is probably apk related.

  1. Try to do literally anything at all from the LuCI package management interface
  2. Get this error
  3. Operation apparently succeeds nonetheless?!

Expected behaviour

  1. I should be able to install packages, update package lists, etc, without getting this disturbing message, even if the underlying operation succeeds

Steps to reproduce

  1. Any action from LuCI that calls apk so "Update Lists", "Upgrade", "Install", etc, etc...

Additional Information

{
	"kernel": "6.12.74",
	"hostname": "OpenWrt",
	"system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
	"model": "TP-Link Archer C7 v2",
	"board_name": "tplink,archer-c7-v2",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "25.12.2",
		"firmware_url": "https://downloads.openwrt.org/",
		"revision": "r32802-f505120278",
		"target": "ath79/generic",
		"description": "OpenWrt 25.12.2 r32802-f505120278",
		"builddate": "1774469393"
	}
}

What browsers do you see the problem on?

Chrome

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions