原帖子内容:
opkg list-upgradable | cut -f 1 -d ' ' | xargs -r opkg upgrade
Since OpenWrt firmware stores the base system in a compressed read-only partition, any update to base system packages will be written in the read-write partition and therefore use more space than it would if it was just overwriting the older version in the compressed base system partition. It’s recommended to check the available space in internal flash memory and the space requirements for updates of base system packages.
注意:由于文件系统空间有限,升级有风险。
我的解决方案是,每次通过grep筛选升级:
opkg list-upgradable | cut -f 1 -d ' '|grep luci
确认升级的内容,然后再执行升级
opkg list-upgradable | cut -f 1 -d ' '|grep luci
|xargs -r opkg upgrade