From: Jo-Philipp Wich Date: Fri, 14 Oct 2011 22:25:07 +0000 (+0000) Subject: libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall kmod-ipt-nat... X-Git-Tag: 0.11.0~1542 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=55297447cd92653c947934c587bf2b7c790afd2a;p=project%2Fluci.git libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall kmod-ipt-nat with it will remove half of luci too, additionally opkg segfaults and corrupts the status database --- diff --git a/libs/ipkg/luasrc/model/ipkg.lua b/libs/ipkg/luasrc/model/ipkg.lua index a510e88e5d..73fa3c305c 100644 --- a/libs/ipkg/luasrc/model/ipkg.lua +++ b/libs/ipkg/luasrc/model/ipkg.lua @@ -23,7 +23,7 @@ local pairs = pairs local error = error local table = table -local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite --autoremove" +local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite" local icfg = "/etc/opkg.conf" --- LuCI OPKG call abstraction library @@ -229,4 +229,3 @@ function overlay_root() return od end -