opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable错误解决方法

2020-08-29
0评论
/
阅读
管理员

自己编译的固件安装软件包,刷新列表提示错误

软件包点“刷新列表”后,长时间无响应,然后提示Bad Getaway The process did not produce any response。刷新页面在点“刷新列表”后,提示

Collected errors:

* opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.

openwrt无法安装及更新软件包解决方法

配置文件如下

dest root /

dest ram /tmp

lists_dir ext /var/opkg-lists

option overlay_root /overlay

src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base

src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/luci

src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/management

src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/packages

#src/gz barrier_breaker_ramod http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/ramod

src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/routing

src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/telephony

src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/oldpackages

openwrt无法安装及更新软件包解决方法

下面是网上找到的解决方法留作备份

解决方法:打开SSH工具连接路由器,输入以下命令:

echo "nameserver 114.114.114.114">/tmp/resolv.conf
rm -f /var/lock/opkg.lock
opkg update

本站附件分享,如附件失效,可以去找找看
诚通网盘附件百度网盘附件

赞助我
如果本文对你有帮助,那么请你赞助我,让我更有激情的写下去,帮助更多的人。
本站加入了Google AdSense,因为谷歌 AdSense 算是广告商里难得“有节操、有底线”的佼佼者,没有任何低俗、垃圾、恶心的广告,所有希望不要“一刀切”式的拦截广告

如无特殊说明,解压密码均为:aisoa.cn


干饭福利分享: 微信扫码领取“饿了么”抵用券↓↓↓↓↓↓↓↓↓↓

标签: openwrt
于2020-08-29发布