luci: luci-app-package-manager: apk update: fetch of package.adb index is shown in Errors output

Is there an existing issue for this?

  • I have searched the existing issues

screenshots or captures

image

Actual behaviour

  1. Go to https://192.168.1.1/cgi-bin/luci/admin/system/package-manager
  2. Click on Update lists... action button
  3. Once the apk update finishes it shows the output in the Errors section, which is misleading as its not an error

Errors

fetch https://downloads.openwrt.org/snapshots/targets/x86/64/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/6.6.60-1-2e46b6878177e1dea330c0dbbbcfb6be/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/packages.adb

Expected behaviour

Only errors/issues are shown in the Errors section.

Steps to reproduce

  1. Go to https://192.168.1.1/cgi-bin/luci/admin/system/package-manager
  2. Click on Update lists... action button

Additional Information

{
	"kernel": "6.6.60",
	"hostname": "OpenWrt",
	"system": "13th Gen Intel(R) Core(TM) i9-13900HX",
	"model": "QEMU Standard PC (Q35 + ICH9, 2009)",
	"board_name": "qemu-standard-pc-q35-ich9-2009",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "SNAPSHOT",
		"revision": "r28056-40b8fbaa97",
		"target": "x86/64",
		"description": "OpenWrt SNAPSHOT r28056-40b8fbaa97",
		"builddate": "1731280190"
	}
}

What browsers do you see the problem on?

Firefox

Relevant log output

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 22 (16 by maintainers)

Most upvoted comments

It is an upstream apk issue, as they mix stdout/stderr for normal status…

Our report and fix proposal there: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/243

Fixed there one week ago with https://gitlab.alpinelinux.org/alpine/apk-tools/-/commit/4c776eb749971f5cb43940b02d2626962136267f

But the version of apk in use OpenWrt has not yet been updated to a commit containing LuCI, as OpenWrt still uses 30.11.2024, until @Ansuel @aparcar @ynezz or some else OpenWrt dev upgrades our version.

Nothing to fix in LuCI.