Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWRT kernel不符合依赖 #116

Closed
antareson opened this issue Mar 20, 2020 · 4 comments
Closed

OpenWRT kernel不符合依赖 #116

antareson opened this issue Mar 20, 2020 · 4 comments

Comments

@antareson
Copy link

opkg install luci-app-v2ray --force-depends 也报同样的错误

# opkg install luci-app-v2ray
Installing luci-app-v2ray (1.4.3-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-v2ray:
 *      kernel (= 4.19.108-1-09dda410faebf19859968dc4ff1c1892)
 * opkg_install_cmd: Cannot install package luci-app-v2ray.
# uname -a
Linux OpenWrt 4.19.93 #0 SMP Sun Jan 12 13:12:50 2020 armv7l GNU/Linux
# cat /etc/*release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r11962-b6946542f8'
DISTRIB_TARGET='ipq806x/generic'
DISTRIB_ARCH='arm_cortex-a15_neon-vfpv4'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r11962-b6946542f8'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11962-b6946542f8"
OPENWRT_BOARD="ipq806x/generic"
OPENWRT_ARCH="arm_cortex-a15_neon-vfpv4"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt SNAPSHOT r11962-b6946542f8"

# opkg print-architecture
arch all 1
arch noarch 1
arch arm_cortex-a15_neon-vfpv4 10
@kuoruan
Copy link
Owner

kuoruan commented Mar 20, 2020

snapshot 版本在安装软件包时如果使用官方源有一定的机率出行该问题。
解决的方案是编译阶段就将对应的依赖包安装进去。 v2ray 并不依赖 kernel 版本

可以尝试手动安装 ip, ipset, iptables-mod-tproxy, dnsmasq-full, resolveip

然后再安装 luci-app-v2ray

@kuoruan kuoruan closed this as completed Mar 20, 2020
@antareson
Copy link
Author

多谢!手动安装依赖后,就成功了:

opkg remove dnsmasq
opkg install ip ipset iptables-mod-tproxy dnsmasq-full resolveip
opkg install luci-app-v2ray

@zsbai
Copy link

zsbai commented Jun 5, 2021

安装依赖
opkg install ipset iptables-mod-tproxy
均报错satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-tproxy: * kernel (= 3.10.49-1-3df3ab26a49a04478a9633bf83827ca3)

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for ipset:
  • kernel (= 3.10.49-1-3df3ab26a49a04478a9633bf83827ca3)

@xiaojueguan
Copy link

可以把安装依赖放到安装luci-app-v2ray里面吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants