[Solved]Can't remove packages suddenly

Hello,
Got it somewhat up&running on a TP-Link AX23; so obviously I ran out of space and now it seems some useless stuff, like themes I don't use are here to stay -- can't uninstall via terminal or luci -- the whole process succeeds, but after that is like nothing ever happened

Can you show us the output of the commands you've issued?

And let's also see:

ubus call system board
df -h

Sure, it goes something like this:

root@AX23:~# opkg remove luci-theme-argon
Removing package luci-theme-argon from root...
root@AX23:~# ubus call system board
{
	"kernel": "5.15.162",
	"hostname": "AX23",
	"system": "MediaTek MT7621 ver:1 eco:3",
	"model": "TP-Link Archer AX23 v1",
	"board_name": "tplink,archer-ax23-v1",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.4",
		"revision": "r24012-d8dd03c46f",
		"target": "ramips/mt7621",
		"description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
	}
}
root@AX23:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    58.8M      2.1M     56.8M   4% /tmp
/dev/mtdblock4            8.8M      8.6M    136.0K  98% /overlay
overlayfs:/overlay        8.8M      8.6M    136.0K  98% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@AX23:~# 

oh, also I can't switch themes which "should" be installed if this helps

One more things we should look at, too:

mount

root@AX23:~# mount

/dev/root on /rom type squashfs (ro,relatime,errors=continue)

proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)

cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)

/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)

overlayfs:/overlay on / type overlay (ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)

tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)

devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)

debugfs on /sys/kernel/debug type debugfs (rw,noatime)

bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)

root@AX23:~#

yes, right away

root@AX23:~# opkg remove luci-theme-argon
Removing package luci-theme-argon from root...
root@AX23:~#

as if it succeeded, same in luci

Your overlay is mounted as read only. This is probably because of the fact that it was filled up.

Try this:

mount -o remount,rw /
opkg remove luci-theme-argon

Show us the output

root@AX23:~# mount -o remount,rw /

mount: mounting overlayfs:/overlay on / failed: Read-only file system

aand

root@AX23:~# opkg remove luci-theme-argon
Removing package luci-theme-argon from root...
root@AX23:~#

so no output doesnt mean success :D, thanks alot btw

make a backup of your current config, then we'll see if it will reset to defaults in the current state (it might not work)

firstboot -y && reboot

okay, let's do this

it defaults to default configs,
now ofc I only have the backup on my laptop which only has wifi :D:D

Sorry, I just assumed you were using a machine with ethernet. Try a usb stick to move it from your laptop to your ethernet connected device.

it's okay, fully my fault :smiley:
I'm not sure I have usb mini stick, I'll figure something out.
the bad news is -- I found an older backup on the ethernet machine and it says it's not readable :confused:

Well, another option is that you can simply configure wifi on your router and then connect the laptop again. Then restore the backup from the laptop.

I got it online via my phone, now it's only a matter of time before cloud services start working

same thing, says backup not readable :confused:

How are you trying to restore the backup? What is the exact file name (including the extensions) that you have for the backup file.

backup-AX23-2024-08-17.tar
I try to upload it via luci

it needs to be a tar.gz file. Your browser probably automatically un-gz'd it when it downloaded. Safari on a Mac will do that if you have the "automatically open safe files" preference enabled.