xlings 安装失败,网络问题
-
我使用的环境是云服务器,Ubuntu22.04
这是报错的部分,求指教:
[xlings: xim]: sync package index repo: https://gitee.com/sunrisepeak/xim-pkgindex.git
[xlings:xim] main: error - Cloning into 'xim-pkgindex'...
remote: [session-ac42ac85] reject by mode [ja-p]
fatal: unable to access 'https://gitee.com/sunrisepeak/xim-pkgindex.git/': The requested URL returned error: 400Common-QA: https://xlings.d2learn.org/documents/qa.html
error: Cloning into 'xim-pkgindex'...
remote: [session-ac42ac85] reject by mode [ja-p]
fatal: unable to access 'https://gitee.com/sunrisepeak/xim-pkgindex.git/': The requested URL returned error: 400下面是完整的终端输出:
curl -fsSL https://d2learn.org/xlings-install.sh | bash
\ \ / / | | (_) pre-v0.0.4
\ V / | | _ _ __ __ _ ___< | | | || '_ \ / _ |/ |
/ . \ | || || | | || (| |_
// _\ ||||| || _, ||_/
/ |
|/repo: https://github.com/d2learn/xlings
forum: https://forum.d2learn.org
Testing network...
Latency for github.com : 85.382 ms
Latency for gitee.com : 27.004 ms
Downloading xlings...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 117k 0 117k 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k
Extracting files...
Running install.unix.sh...
[xlings]: start detect environment and try to auto config...
[xlings]: xmake installed
[xlings]: remove /home/xlings/.xlings - ok
[xlings]: xlings uninstalled - ok
[xlings]: create xlings home dir /home/xlings
[sudo] password for lja:
[xlings]: install xlings to /home/xlings/.xlings
[xlings]: create rcachedir /home/xlings/.xlings_data
[xlings]: create bindir /home/xlings/.xlings_data/bin
[xlings]: copy profile to rcachedir...
[xlings]: copy xlings config file to rcachedir...
[xlings]: init xlings...
[xlings]: clean xlings runtimedir(tmp-cache) /home/xlings/.xlings_data/xim/runtimedir - ok
[xlings]: clean xlings tmp files - ok
[xlings]: config user environment...
[xlings]: config [bash] shell - /home/lja/.bashrc
[xlings]: config [fish] shell - /home/lja/.config/fish/config.fish
[xlings]: check xlings user group(only unix)...
[xlings]: create group xlings and add current user [lja] to it(only-first)
[xlings]: add current /home/xlings owner to xlings group(only-first)
[xlings]: create and init subos linux dir /home/xlings/.xlings_data/subos/linux
[xlings: xim]: sync indexrepos...
[xlings: xim]: sync package index repo: https://gitee.com/sunrisepeak/xim-pkgindex.git
[xlings:xim] main: error - Cloning into 'xim-pkgindex'...
remote: [session-ac42ac85] reject by mode [ja-p]
fatal: unable to access 'https://gitee.com/sunrisepeak/xim-pkgindex.git/': The requested URL returned error: 400Common-QA: https://xlings.d2learn.org/documents/qa.html
error: Cloning into 'xim-pkgindex'...
remote: [session-ac42ac85] reject by mode [ja-p]
fatal: unable to access 'https://gitee.com/sunrisepeak/xim-pkgindex.git/': The requested URL returned error: 400link [ xvm ] to global - /usr/bin/xvm
error: cannot exec(xvm add xim 0.0.4 --alias "xlings install"), No such file or directory -
git clone https://gitee.com/sunrisepeak/xim-pkgindex.git
感觉好像是被拦截了 手动用上面命令测试一下网络 看看有没有问题
-
@SPeak 感谢回复,git clone https://gitee.com/sunrisepeak/xim-pkgindex.git 之前执行过这个没有问题,不过我刚刚发现能够安装成功了,但没搞懂为什么晚上12点钟访问gitee失败,当时在我的阿里云和华为云服务器上都是不能访问,我猜测可能是gitee的问题吧。