Opkg issues (installing via Luci)

Hi there,

I'm trying to upgrade and install a few small packages via Luci, and I'm getting the following error (regardless of what packages I install).

The packages still report installing correctly but these errors keep happening:

Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/kmod-mdio-netlink.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/ethtool-full.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/mdio-tools.list: No such file or directory.

Please post

ubus call system board

Also check df if overlay has space left.

{
	"kernel": "6.6.30",
	"hostname": "routey",
	"system": "ARMv8 Processor rev 4",
	"model": "Spectrum SAX1V1K",
	"board_name": "spectrum,sax1v1k",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "SNAPSHOT",
		"revision": "r26387-9a11bc3682",
		"target": "qualcommax/ipq807x",
		"description": "OpenWrt SNAPSHOT r26387-9a11bc3682"
	}
}

re: space - not sure where to check, but here's Luci overview which has memory and storage info:

Force auc upgrade to restore opkg data

Hey

Thanks for the reply -

I'm still learning here - can you clarify the correct CLI command?

auc

probably you switched off or canceled package install, just to repackage squashfs and reset overlay.

1 Like

auc

1 Like

sorry im still learning here :sweat_smile:

would you be able to tell me the steps to do so? im all about researching stuff on my own but i dont want to hose my whole router and mess everything up.

@psherman - any tips?

I'm not sure why you're seeing issues, but one thing that strikes me as strange here:

the //usr/lib/... -- there's an extra / in the path (at the beginning) that I wouldn't expect.

Maybe reset to defaults and try again. Or, use a newer snapshot.

i believe those tools were being used by an openwrt community member who was helping me (which ultimately resulted in a kernel patch for the latest release)

after that i flashed to the newest snapshot, but shouldnt it have overwritten everything?

When you reflash, it will clear all user-installed packages. Config files can be kept or reset to defaults.