OpenWRT:无法安装软件包 - 内存问题

时间:2015-12-05 23:12:48

标签: router openwrt

我从我的默认固件切换到OpenWrt: TP-Link TL-WR1043N / ND v1 ,并且我遇到无法安装任何新软件包的问题

我做了什么:

  • Flash OpenWrt
  • 安装Luci(没问题)

而且当我尝试安装其他任何东西时,我得到了:

public boolean isConflict(List<String> equalRelation, List<String> notEqualRelation) {
    //......
}

重要的是: * xsystem:wget:vfork:内存不足。是的,我尝试重启并多次'更新'。

但在Luci下 - &gt;我能看到的软件:

enter image description here

这是我的DF输出:

Collected errors:
* xsystem: wget: vfork: Out of memory.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci-app-wshaper_git-15.338.68695-3bae3c7-1_all.ipk, wget returned -1.
 * opkg_install_pkg: Failed to download luci-app-wshaper. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package luci-app-wshaper.

OpenWRT路由器链接: https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd

制造商链接: http://www.tp-link.com/en/download/TL-WR1043ND_V1.html

请问有谁知道可能导致这个问题的原因是什么?我知道解决方案可能是使用外部USB,但我想不惜一切代价避免这种情况+我无法想象这个路由器只能为luci提供空间:)

2 个答案:

答案 0 :(得分:21)

进入/etc/opkg/distfeeds.conf并注释掉除了base和luci之外的所有内容,前两个。

不知道为什么,但是opkg开始使用大量的RAM来启用所有这些,默认情况下这是。

答案 1 :(得分:0)

这是我的烦恼。首先尝试安装 udpxy 时遇到一些麻烦,在评论conf中的一些点后,一切正常。

$ cat /etc/opkg/distfeeds.conf

src/gz designated_driver_base http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/base
#src/gz designated_driver_kernel http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/kernel
#src/gz designated_driver_telephony http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/telephony
src/gz designated_driver_packages http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/packages
#src/gz designated_driver_routing http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/routing
src/gz designated_driver_luci http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/luci
src/gz designated_driver_management http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/management
# src/gz designated_driver_targets http://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/packages/targets