【Openwrt】 遇到的错误
症状
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/resize2fs.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/tune2fs.list: No such file or directory.
解决:
opkg install --force-overwrite resize2fs tune2fs
症状:
中文语言包丢失
解决:
opkg update
opkg install luci-i18n-base-zh-cn
症状:
/usr/lib/lua/luci/dispatcher.lua:1379: module 'luci.cbi' not found:
no field package.preload['luci.cbi']
no file './luci/cbi.lua'
no file '/usr/share/lua/luci/cbi.lua'
no file '/usr/share/lua/luci/cbi/init.lua'
no file '/usr/lib/lua/luci/cbi.lua'
no file '/usr/lib/lua/luci/cbi/init.lua'
no file './luci/cbi.so'
no file '/usr/lib/lua/luci/cbi.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/luci/dispatcher.lua:1379: in function '_cbi'
/usr/lib/lua/luci/dispatcher.lua:1056: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:1032: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:483: in function </usr/lib/lua/luci/dispatcher.lua:482>
解决:
opkg update
opkg install luci luci-base luci-compat
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。