Unable to install `luci-app-https-dns-proxy`

I am Unable to install luci-app-https-dns-proxy even if space is available

72 KiB is left
and required space is 35.27 KiB

I am using TP-Link Archer C5 v4 with OpenWrt SNAPSHOT r28214-5a4eb56a7b / LuCI Master 24.332.76492~22ea96b

any pointers will be good for me

You simply don't have enough space, it's not going to fit.

Reasons involve:

  • filesystem overhead
  • erase block size (often 64 KB) and erase block borders
  • maintainer scripts
  • configuration files of various kinds
  • package manager metadata

256 KB - 320 KB free space is a magic value you should never drop below, otherwise you will be in trouble with uci and other things.

You aren't going to fit your 2.05m wide car into a 2.10m wide parking space either.

1 Like

I wonder if there is any list of removable unused packages?
e.g. removing USB related packages

also is it possible to use Temp space

No, and no - for details, please use the forum search.

Luci app depends on some dependencies. That would be larger file consumption.
Why don't you just try to install htpps-dns-proxy alone without luci interface (lesser space required) . DoH still works if you don't install luci app version.

While the https-dns-proxy is still the most efficient solution for resource-strained routers, it depends on curl/libcurl which (depending on the platform) is about 64Kb. So like @slh said, you don't have enough space for it, wherever you want WebUI or not.

If you create a firmware with luci-app-https-dns-proxy and dependencies included, you may be able to fit it as the packages backed into the firmware are compressed and take a little less space. That's also the only option to make space on your device by removing some packages -- because that way they are actually removed from the firmware being built, otherwise the space is still taken by them even if you uninstall them from the already made image.

Thanks all for reply, esp @stangri

I requested custom build in firmware selector,
added luci-app-https-dns-proxy and https-dns-proxy packages in the list
and flashed the generated image,
and it got installed

openwrt rocks!

Keep in mind that the next stable release (24.10.x) will be around ~500 KB bigger, so your victory is temporary and you should plan ahead.

1 Like