![uci: 라인 12, 바이트 23에서 구문 분석 오류가 발생했습니다(다른 유형의 일부가 동일한 이름으로 이전 부분을 덮어씁니다).](https://linux55.com/image/151933/uci%3A%20%EB%9D%BC%EC%9D%B8%2012%2C%20%EB%B0%94%EC%9D%B4%ED%8A%B8%2023%EC%97%90%EC%84%9C%20%EA%B5%AC%EB%AC%B8%20%EB%B6%84%EC%84%9D%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4(%EB%8B%A4%EB%A5%B8%20%EC%9C%A0%ED%98%95%EC%9D%98%20%EC%9D%BC%EB%B6%80%EA%B0%80%20%EB%8F%99%EC%9D%BC%ED%95%9C%20%EC%9D%B4%EB%A6%84%EC%9C%BC%EB%A1%9C%20%EC%9D%B4%EC%A0%84%20%EB%B6%80%EB%B6%84%EC%9D%84%20%EB%8D%AE%EC%96%B4%EC%94%81%EB%8B%88%EB%8B%A4)..png)
BusyBox v1.28.4 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.2, r7676-cddd7b4c77
-----------------------------------------------------
root@mortar:~# opkg upgrade $(opkg list-upgradable | cut -d ' ' -f 1)
Configuring luci-lib-nixio.
Configuring luci-lib-jsonc.
Configuring luci-base.
Configuring luci-mod-admin-full.
uci: Parse error (section of different type overwrites prior section with same name) at line 12, byte 23
Configuring luci-app-firewall.
Configuring luci-proto-ppp.
Configuring luci-proto-ipv6.
Configuring luci.
Configuring luci-ssl.
Configuring luci-app-upnp.
uci: Parse error (section of different type overwrites prior section with same name) at line 12, byte 23
도움이 되는:-). 구문 분석 오류어느 파일에?
답변1
# cd /etc/config
# uci export 2>&1 | grep -C5 '^uci:'
option ports '5190'
option comment 'AOL, iChat, ICQ'
config default
option target 'Express'
uci: Parse error (section of different type overwrites prior section with same name) at line 12, byte 23
option proto 'udp'
option pktsize '-500'
config reclassify
option target 'Priority'
# grep -r 'config reclassify' .
./qos:config reclassify
# mv qos ~
# uci export 2>&1 | grep -C5 '^uci:'
#