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

为什么v2ray-core 安装后 /etc/init.d/v2ray 文件会与luci-app-v2ray 的冲突导致安装失败? #471

Open
javaice opened this issue Apr 2, 2023 · 5 comments

Comments

@javaice
Copy link

javaice commented Apr 2, 2023

v2ray-core_5.4.0-1_mipsel_24kc.ipk

root@OpenWrt:~# opkg install luci-app-v2ray_2.0.0-1_all.ipk
Multiple packages (luci-app-v2ray and luci-app-v2ray) providing same name marked HOLD or PREFER. Using latest.
Installing luci-app-v2ray (2.0.0-1) to root...
Collected errors:

  • check_data_file_clashes: Package luci-app-v2ray wants to install file /etc/init.d/v2ray
    But that file is already provided by package * v2ray-core
  • opkg_install_cmd: Cannot install package luci-app-v2ray.
@WordsWorthLess
Copy link

luci-app-v2ray插件安装过程会建立一个启动脚本/etc/init.d/v2ray
v2ray-core这个插件安装过程也会建立一个同名的/etc/init.d/v2ray启动脚本
因此这两个插件就有冲突了

@javaice
Copy link
Author

javaice commented Apr 7, 2023

是的,可是按照安装指引,v2ray-core 是 luci-app-v2ray 的依赖项。难道我要先安装 v2ray-core 后,手动删除 /etc/init.d/v2ray 再安装 luci-app-v2ray 吗?

@robberphex
Copy link

luci-app-v2ray should rename /etc/init.d/v2ray to avoid conflict with package v2ray.

I rename it to luci_v2ray, you could try it.

@hellowor14
Copy link

how can i rename luci-app-v2ray

@lhcdims
Copy link

lhcdims commented May 29, 2024

how can i rename luci-app-v2ray

you need to use ssh to login the router

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

5 participants