Issue: When trying to install a package, you get the error message No space left on device
Root cause: Too little space available on your device's flash. (happens easily on devices with only 4MB flash or 8MB flash)
By removing packages you installed after flashing OpenWrt onto your Router (e.g. packages installed via opkg install or the Software page in LuCI).
opkg remove or via the Software page in LuCI.opkg remove, try removing the package debris via script.This happens easily with recent firmware on 4MB/8MB Flash devices. To address this, you can press-fit an OpenWrt image into this small flash by building your own image tailored to your requirements, with only the packages you need:
luci-app-attendedsysupgrade installed), by selecting from the version menu the same version that is currently installed (marked with [installed])