XTLS / Xray-install

Easiest way to install & upgrade Xray.
https://t.me/projectXray
GNU General Public License v3.0
1.8k stars 475 forks source link

Debian 12 使用安装命令无响应 #60

Closed chika0801 closed 1 year ago

chika0801 commented 1 year ago

复现流程:

1 使用 https://github.com/bohanyang/debi DD 成 Debian 12,系统安装完成后,只安装 apt install curl。

2 使用Xray安装命令 bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install

输出如下,实际没有安装动作。测试了不同的VPS,都统一DD成全新系统,只安装curl,然后再用Xray安装命令,20次约有1次能正常安装,其它次数都无响应。

root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
root@localhost:~# 

试过重启VPS,还是一样。同时发现有几个是从Debian11升级到12的VPS,使用

# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge

也是无响应情况。

chika0801 commented 1 year ago

再试了一下,测试的2个VPS也恢复了可以使用了。另一台从Deian11升到12的VPS我用卸载命令也运行了。

推测可能是刚github抽风,curl下载时没成功?

chise0713 commented 1 year ago

实际上是你复制下来的指令忘记删除开头的 # 了吧?

chika0801 commented 1 year ago

~实际上是你复制下来的指令忘记删除开头的 # 了吧?~

这都能挖坟挖到,我后来是发现多复制了 # ,我还想 https://github.com/XTLS/Xray-install 这里面的都有 # 以前怎么没注意到,你提个PR去 https://github.com/XTLS/Xray-install 把 # 去了好不?

chise0713 commented 1 year ago

这个 # 是提醒大伙记得用root账号吧,我就不删了🫠