vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.79k stars 3.09k forks source link

openwrt x86-64 安装遇到 Cannot satisfy the following dependencies #363

Closed NV3S closed 4 years ago

NV3S commented 4 years ago

openwrt kernel: 4.19.115

luci-app-openclash版本: 0.37.4-beta(上一版本 0.37.3-beta也遇到

现象:

root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.3-beta_all.ipk
Installing luci-app-openclash (0.37.3-beta) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-openclash:
 *      kernel (= 5.4.32-1-9100f2f85d030b2d75515447a431bff7)
 * opkg_install_cmd: Cannot install package luci-app-openclash.

尝试在gcc7.5下自编译,安装时候问题依旧。

AlfredWang777 commented 4 years ago

同样的问题 J1900, pve版本:6.0-4 lede由lean代码编译

  1. 尝试force安装
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
Installing luci-app-openclash (0.37.4-beta) to root...
Installing kmod-nf-reject6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-reject6_5.4.34-1_x86_64.ipk
Installing kmod-nf-ipt6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-ipt6_5.4.34-1_x86_64.ipk
Installing kmod-ip6tables (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ip6tables_5.4.34-1_x86_64.ipk
Installing kmod-ipt-tproxy (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ipt-tproxy_5.4.34-1_x86_64.ipk
Installing iptables-mod-tproxy (1.8.4-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/iptables-mod-tproxy_1.8.4-1_x86_64.ipk
Configuring kmod-nf-reject6.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring kmod-ipt-tproxy.
Configuring iptables-mod-tproxy.
Configuring luci-app-openclash.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-openclash:
 *    kernel (= 5.4.34-1-9100f2f85d030b2d75515447a431bff7)
  1. 再次运行,提示已经安装:
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
 Package luci-app-openclash (0.37.4-beta) installed in root is up to date.
  1. 安装管理界面提示:

Insufficient permissions to read UCI configuration.

NV3S commented 4 years ago

389

NV3S commented 4 years ago

逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy

xinwf commented 4 years ago

逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy

有解决办法吗,我今天安装也遇到这个问题了

NV3S commented 4 years ago

试了一下随固件编译能够使用。

辛文飞 notifications@github.com 于2020年4月27日周一 下午9:03写道:

逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy

有解决办法吗,我今天安装也遇到这个问题了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vernesong/OpenClash/issues/363#issuecomment-619971918, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHO3DRWNX7WQ77M3DYK7D3ROV7B5ANCNFSM4MN4AN5Q .

xinwf commented 4 years ago

试了一下随固件编译能够使用。 辛文飞 notifications@github.com 于2020年4月27日周一 下午9:03写道: 逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy 有解决办法吗,我今天安装也遇到这个问题了 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#363 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHO3DRWNX7WQ77M3DYK7D3ROV7B5ANCNFSM4MN4AN5Q .

好的,上午试一下

xinwf commented 4 years ago

试了一下随固件编译能够使用。 辛文飞 notifications@github.com 于2020年4月27日周一 下午9:03写道: 逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy 有解决办法吗,我今天安装也遇到这个问题了 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#363 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHO3DRWNX7WQ77M3DYK7D3ROV7B5ANCNFSM4MN4AN5Q .

不会编译...., 没搞过,教程没看懂,小白

xinwf commented 4 years ago

试了一下随固件编译能够使用。 辛文飞 notifications@github.com 于2020年4月27日周一 下午9:03写道: 逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy 有解决办法吗,我今天安装也遇到这个问题了 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#363 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHO3DRWNX7WQ77M3DYK7D3ROV7B5ANCNFSM4MN4AN5Q .

摸索出来编译了, 但是编译的时候仍然弹出来 make menuconfig的界面,然后退出就中断了

xinwf commented 4 years ago

同样的问题 J1900, pve版本:6.0-4 lede由lean代码编译

  1. 尝试force安装
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
Installing luci-app-openclash (0.37.4-beta) to root...
Installing kmod-nf-reject6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-reject6_5.4.34-1_x86_64.ipk
Installing kmod-nf-ipt6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-ipt6_5.4.34-1_x86_64.ipk
Installing kmod-ip6tables (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ip6tables_5.4.34-1_x86_64.ipk
Installing kmod-ipt-tproxy (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ipt-tproxy_5.4.34-1_x86_64.ipk
Installing iptables-mod-tproxy (1.8.4-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/iptables-mod-tproxy_1.8.4-1_x86_64.ipk
Configuring kmod-nf-reject6.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring kmod-ipt-tproxy.
Configuring iptables-mod-tproxy.
Configuring luci-app-openclash.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-openclash:
 *  kernel (= 5.4.34-1-9100f2f85d030b2d75515447a431bff7)
  1. 再次运行,提示已经安装:
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
 Package luci-app-openclash (0.37.4-beta) installed in root is up to date.
  1. 安装管理界面提示:

Insufficient permissions to read UCI configuration.

第三个问题已找到解决方案: 这个问题已解决, 根据 https://github.com/LGA1150/openwrt/commit/c822400a5da3ac6b093ce0dd50efccc626759d27 这个链接在路由器上创建这个文件/usr/share/rpcd/acl.d/luci-app-vlmcsd.json, 然后打开文件read 和write 加上v2ray即可, 这个问题解决后,我的v2ray服务无法启动, 提示无法load config文件, v2ray 4.18 failded to load config

NV3S commented 4 years ago

同样的问题 J1900, pve版本:6.0-4 lede由lean代码编译

  1. 尝试force安装
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
Installing luci-app-openclash (0.37.4-beta) to root...
Installing kmod-nf-reject6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-reject6_5.4.34-1_x86_64.ipk
Installing kmod-nf-ipt6 (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-nf-ipt6_5.4.34-1_x86_64.ipk
Installing kmod-ip6tables (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ip6tables_5.4.34-1_x86_64.ipk
Installing kmod-ipt-tproxy (5.4.34-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/kmod-ipt-tproxy_5.4.34-1_x86_64.ipk
Installing iptables-mod-tproxy (1.8.4-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/targets/x86/64/packages/iptables-mod-tproxy_1.8.4-1_x86_64.ipk
Configuring kmod-nf-reject6.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring kmod-ipt-tproxy.
Configuring iptables-mod-tproxy.
Configuring luci-app-openclash.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-openclash:
 *    kernel (= 5.4.34-1-9100f2f85d030b2d75515447a431bff7)
  1. 再次运行,提示已经安装:
root@OpenWrt:/tmp/upload# opkg install luci-app-openclash_0.37.4-beta_all.ipk --force-depends
 Package luci-app-openclash (0.37.4-beta) installed in root is up to date.
  1. 安装管理界面提示:

Insufficient permissions to read UCI configuration.

第三个问题已找到解决方案: 这个问题已解决, 根据 LGA1150/openwrt@c822400 这个链接在路由器上创建这个文件/usr/share/rpcd/acl.d/luci-app-vlmcsd.json, 然后打开文件read 和write 加上v2ray即可, 这个问题解决后,我的v2ray服务无法启动, 提示无法load config文件, v2ray 4.18 failded to load config

vlmcsd是KMS的,这能关联上啊。。。

yuanli-cn commented 4 years ago

试了一下随固件编译能够使用。 辛文飞 notifications@github.com 于2020年4月27日周一 下午9:03写道: 逐个安装依赖试了一下是以下这个组件报的 iptables-mod-tproxy 有解决办法吗,我今天安装也遇到这个问题了 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#363 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHO3DRWNX7WQ77M3DYK7D3ROV7B5ANCNFSM4MN4AN5Q .

摸索出来编译了, 但是编译的时候仍然弹出来 make menuconfig的界面,然后退出就中断了

编译之前先make menuconfig,里面找到kmod-ipt-tproxy并选上,保存退出,编译。