Is there an existing issue for this?
screenshots or captures
Actual behaviour
LuCI Package Manager reports that "luci-app-firewall" depends on
"uci-firewall", which is shown as missing.
However, this dependency is NOT actually missing. It is a virtual
dependency provided by firewall4-any via APK PROVIDES mechanism.
Relevant logs:
root@OpenWrt:~# cat /lib/apk/db/installed | grep -A20 luci-app-firewall
P:luci-app-firewall
V:26.106.72997~485787b
A:noarch
S:18703
I:78019
T:Firewall and port forwarding application
U:https://github.com/openwrt/luci
L:Apache-2.0
o:feeds/luci/feeds/luci/applications/luci-app-firewall
m:OpenWrt LuCI community
D:libc luci-base uci-firewall
p:luci-app-firewall-any
f:S
F:lib
F:lib/apk
F:lib/apk/packages
R:luci-app-firewall.list
Z:Q1pWdCtFoQLOepwRI4cjipeJiy/0Y=
F:usr
F:usr/share
F:usr/share/luci
F:usr/share/luci/menu.d
R:luci-app-firewall.json
Z:Q1avXsw/kkOQClXMpbhiVlbj+NYxg=
F:usr/share/rpcd
F:usr/share/rpcd/acl.d
R:luci-app-firewall.json
Z:Q1bMyj48fE59/Dulg2/hG/jw94bo4=
F:usr/share/ucitrack
R:luci-app-firewall.json
Z:Q1jij9uohlSnXBgHdLYW1576BNmPQ=
F:www
F:www/luci-static
F:www/luci-static/resources
F:www/luci-static/resources/tools
R:firewall.js
Z:Q1T0kcjrKQsjHxzqE24yUQOzb+ijU=
F:www/luci-static/resources/view
F:www/luci-static/resources/view/firewall
R:custom.js
Z:Q16YpJFQ/l0Laa2rf+U7JOdxz1Uec=
R:forwards.js
Z:Q199xZMPdeeOqF15mRyLMoZmGwthk=
R:ipsets.js
Z:Q1DvG3BTzrnAdnusQSS3NeZeqjMF0=
R:rules.js
Z:Q12OgAtioF6P7de4g0C8XihdBxajc=
R:snats.js
Z:Q1J1w9ISjOuSDh4BVHKYK4hOIVxg4=
R:zones.js
--
T:Translation for luci-app-firewall - Русский (Russian)
U:
L:Apache-2.0
o:feeds/luci/feeds/luci/applications/luci-app-firewall
m:Jo-Philipp Wich <jo@mein.io>
D:libc luci-app-firewall
p:luci-i18n-firewall-ru-any
f:S
F:etc
F:etc/uci-defaults
R:luci-i18n-firewall-ru
Z:Q1dmyo6HiZIjP2W7TgvmZcL3Qay1I=
F:lib
F:lib/apk
F:lib/apk/packages
R:luci-i18n-firewall-ru.list
Z:Q1uiiqXKtXHQF0TiFAoJEiZeusbKY=
F:usr
F:usr/lib
F:usr/lib/lua
F:usr/lib/lua/luci
F:usr/lib/lua/luci/i18n
R:firewall.ru.lmo
Z:Q10OTGhBmzPQ1wVdHee/lte3tb74U=
C:Q1K+FzqXaKyGScl4rzB7i+yS4ZWBI=
--
D:libc luci-app-firewall luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap rpcd-mod-rrdns uhttpd uhttpd-mod-ubus
p:luci-light-any
f:S
F:lib
F:lib/apk
F:lib/apk/packages
R:luci-light.list
Z:Q147DEQpj8HBSa+/TImW+5JCeuQeQ=
C:Q1YN9CinfJlUuM40yfCXa9L7NLltk=
P:luci-lua-runtime
V:26.101.22673~0c81d2d
A:aarch64_cortex-a53
S:31506
I:132246
T:LuCI Lua runtime libraries
U:https://github.com/openwrt/luci
L:Apache-2.0
o:feeds/luci/feeds/luci/modules/luci-lua-runtime
m:OpenWrt LuCI community
D:libc liblucihttp-lua libubus-lua lua luci-base luci-lib-base luci-lib-ip luci-lib-jsonc luci-lib-nixio ucode-mod-lua
root@OpenWrt:~#
root@OpenWrt:~# grep -R "uci-firewall" /lib/apk/db/
/lib/apk/db/installed:p:firewall4-any uci-firewall=2025.03.17~b6e51575-r2
/lib/apk/db/installed:D:libc luci-base uci-firewall
root@OpenWrt:~# apk search -d uci-firewall
firewall-2025.10.03~3a65fde5-r2
firewall4-2025.03.17~b6e51575-r2
root@OpenWrt:~#
Expected behaviour
LuCI should resolve APK PROVIDES dependencies correctly, i.e.:
- "uci-firewall" is provided by "firewall4-any"
- dependency should be considered satisfied
- no error/warning should be shown
Steps to reproduce
- If you already has
luci-app-firewall installed, just go to http://router_ip/cgi-bin/luci/admin/system/package-manager and try to update, for example, luci package.
Additional Information
{
"kernel": "6.12.74",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "GL.iNet GL-MT6000",
"board_name": "glinet,gl-mt6000",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "25.12.2",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r32802-f505120278",
"target": "mediatek/filogic",
"description": "OpenWrt 25.12.2 r32802-f505120278",
"builddate": "1774469393"
}
}
What browsers do you see the problem on?
Firefox
Relevant log output
Is there an existing issue for this?
screenshots or captures
Actual behaviour
LuCI Package Manager reports that "luci-app-firewall" depends on
"uci-firewall", which is shown as missing.
However, this dependency is NOT actually missing. It is a virtual
dependency provided by firewall4-any via APK PROVIDES mechanism.
LuCI UI shows:
"uci-firewall required but not available"
This blocks or warns upgrade/install operations in web UI.
Relevant logs:
Expected behaviour
LuCI should resolve APK PROVIDES dependencies correctly, i.e.:
Steps to reproduce
luci-app-firewallinstalled, just go to http://router_ip/cgi-bin/luci/admin/system/package-manager and try to update, for example,lucipackage.Additional Information
{ "kernel": "6.12.74", "hostname": "OpenWrt", "system": "ARMv8 Processor rev 4", "model": "GL.iNet GL-MT6000", "board_name": "glinet,gl-mt6000", "rootfs_type": "squashfs", "release": { "distribution": "OpenWrt", "version": "25.12.2", "firmware_url": "https://downloads.openwrt.org/", "revision": "r32802-f505120278", "target": "mediatek/filogic", "description": "OpenWrt 25.12.2 r32802-f505120278", "builddate": "1774469393" } }What browsers do you see the problem on?
Firefox
Relevant log output