通知 爱刷机 路由器教程 →→《省钱助手

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

点击链接加入群聊三群:751529538

点击链接加入群聊二群:376877156

点击链接加入群聊【路由器交流群:622891808已满】

本站附件分享,如果附件失效,可以去找找看

诚通网盘附件百度网盘附件


饿了么红包

饿了么红包

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