Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
255 stars 44 forks source link

为什么无法安装了 #20

Closed najloa closed 5 years ago

najloa commented 5 years ago

上一个版本可以正常安装使用,但是今天无意间发现有CPU2满载的问题,刚准备重装排障就遇到问题了,麻烦作者看看是不是今天的更新的问题

 Checking installation environment...
git version 2.22.0
opkg version dcbc142e51f5f5f2fb9e4e44657e013d3c36a52b (2019-06-14)
 Installing required packages...
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing haveged (1.9.6-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/haveged_1.9.6-1_armv7-2.6.ipk
Installing libhavege (1.9.6-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libhavege_1.9.6-1_armv7-2.6.ipk
Unknown package 'unbound'.
Installing ipset (7.3-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/ipset_7.3-1_armv7-2.6.ipk
Installing libmnl (1.0.4-2) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libmnl_1.0.4-2_armv7-2.6.ipk
Installing libipset (7.3-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libipset_7.3-1_armv7-2.6.ipk
Installing iptables (1.4.21-3) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/iptables_1.4.21-3_armv7-2.6.ipk
Configuring libmnl.
Configuring libhavege.
Configuring haveged.
Configuring libipset.
Configuring ipset.
Configuring iptables.
Collected errors:
 * opkg_install_cmd: Cannot install package unbound.
admin@R7000:/tmp/home/root#
Acris commented 5 years ago

尝试执行opkg update && opkg install unbound,看下输出信息。

najloa commented 5 years ago

尝试执行opkg update && opkg install unbound,看下输出信息。

admin@R7000:/tmp/home/root# opkg update && opkg install unbound
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Unknown package 'unbound'.
Collected errors:
* opkg_install_cmd: Cannot install package unbound.

错误信息是一样的

najloa commented 5 years ago

看不太懂,是因为opkg源里没有unbound才出错的吗?

admin@R7000:/tmp/home/root# opkg list | grep unbound
asterisk16-res-resolver-unbound - 16.3.0-6 - Unbound DNS resolver support.
libunbound - 1.9.3-1 - This package contains the Unbound shared library with basic includes necessary to meet the needs of UCI/LuCI configuration optoins.
unbound-anchor - 1.9.3-1 - This package contains the Unbound anchor utility.
unbound-control - 1.9.3-1 - This package contains the Unbound control utility.
unbound-control-setup - 1.9.3-1 - This package contains the Unbound control setup utility.
unbound-daemon - 1.9.3-1 - This package contains the Unbound daemon with basic includes necessary to meet the needs of UCI/LuCI configuration optoins.
unbound-host - 1.9.3-1 - This package contains the Unbound DNS lookup utility.
admin@R7000:/tmp/home/root#
Acris commented 5 years ago

目前没有路由器可以测试,麻烦帮忙测试下执行opkg update && opkg install unbound-daemon,然后执行unbound --help看下输出?

najloa commented 5 years ago

目前没有路由器可以测试,麻烦帮忙测试下执行opkg update && opkg install unbound-daemon,然后执行unbound --help看下输出?

我把install.sh里面的opkg install unbound替换成opkg install unbound-daemon后,已经可以正常安装使用了

Acris commented 5 years ago

感谢测试,应该是entware拆分了unbound包名,稍后我将修正安装脚本。