Skip to content
Contents
GuidesOpenWrt

Why does rpc-sys omit packages that apk shows as installed on OpenWrt?

Check the query before reinstalling anything. In our OpenWrt 25.12.6 VM the default RPC returned 149 entries and all returned 182. Some packages also appeared under shorter names.

Check the query before reinstalling anything. In our OpenWrt 25.12.6 VM the default RPC returned 149 entries and all returned 182. Some packages also appeared under shorter names.

Identify the list

In LuCI open System → Software → Installed and clear filters. The screenshot is from an x86/64 lab on the same release. Run these three commands over SSH and note the full apk name and version.

LuCI · Installed

apk list -I
ubus -v list rpc-sys
ubus call rpc-sys packagelist

If the object is absent, check rpcd components. If only the web request is denied, check account permissions. Run the next block only if packagelist advertises a Boolean all argument. Replace libubus with part of the name.

ubus call rpc-sys packagelist '{"all":true}'
grep -F libubus /etc/apk/world
apk list -I | grep -F libubus

Read the differences

The default query consults explicit requests. If an entry appears only in the full result, check whether it came in as a dependency. The world file may include version constraints or virtual names, so a line-by-line comparison can mislead.

In our test apk and world used libubus20251202. Both RPC calls returned libubus without the ABI suffix. Confirm the version and package metadata before matching names. Never strip trailing digits indiscriminately.

apk       libubus20251202-2026.06.28~24864e78-r2
rpc-sys   "libubus": "2026.06.28~24864e78-r2"

Keep two records

Save installed names and versions for inventory and explicit requests for upgrades. For unresolved differences record the rpcd version and providers, then pause automatic removal. Retest one explicit package and one dependency. The commands are read-only. Leave world intact and revert any collector changes if the comparison fails.

LuCI cannot load the package list. Is the JSON truncated or the index empty?

Explore hardware

Comments