OpenWRT安装软件包报错line 2: can't open '/etc/uci-defaults/ 的解决
故障:web控制页安装部分软件包时报错:
//usr/lib/opkg/info/luci-i18n-base-zh-cn.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-base-zh-cn': No such file or directoryfiguring luci-app-passwall2.
usr/lib/opkg/info/luci-app-passwall2.postinst: .: line 2: can't open '/etc/uci-defaults/luci-passwall2': No such file or directory
Configuring luci-app-passwall2. //usr/lib/opkg/info/luci-app-passwall2.postinst: .: line 2: can't open '/etc/uci-defaults/luci-passwall2': No such file or directory
原因分析:缺少依赖
解决:安装 luci-base luci-compat