跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
  • Online Tools
  • 用户
  • 群组
折叠
品牌标识

D2Learn Forums

  1. 主页
  2. Open source | 开源
  3. xlings
  4. xlings 安装失败,网络问题

xlings 安装失败,网络问题

已定时 已固定 已锁定 已移动 xlings
安装网络问题
3 帖子 2 发布者 4 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • saul-goodman-ljaS 离线
    saul-goodman-ljaS 离线
    saul-goodman-lja
    编写于 最后由 编辑
    #1

    我使用的环境是云服务器,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: 400

    Common-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: 400

    Common-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

    link [ xvm ] to global - /usr/bin/xvm
    error: cannot exec(xvm add xim 0.0.4 --alias "xlings install"), No such file or directory

    1 条回复 最后回复
    0
    • SPeakS 离线
      SPeakS 离线
      SPeak d2learn-dev
      编写于 最后由 编辑
      #2

      git clone https://gitee.com/sunrisepeak/xim-pkgindex.git

      感觉好像是被拦截了 手动用上面命令测试一下网络 看看有没有问题

      saul-goodman-ljaS 1 条回复 最后回复
      0
      • saul-goodman-ljaS 离线
        saul-goodman-ljaS 离线
        saul-goodman-lja
        回复了SPeak 最后由 编辑
        #3

        @SPeak 感谢回复,git clone https://gitee.com/sunrisepeak/xim-pkgindex.git 之前执行过这个没有问题,不过我刚刚发现能够安装成功了,但没搞懂为什么晚上12点钟访问gitee失败,当时在我的阿里云和华为云服务器上都是不能访问,我猜测可能是gitee的问题吧。

        1 条回复 最后回复
        0

        • 登录

        • 没有帐号? 注册

        • 登录或注册以进行搜索。
        d2learn forums Powered by NodeBB
        • 第一个帖子
          最后一个帖子
        0
        • 版块
        • 最新
        • 标签
        • 热门
        • Online Tools
        • 用户
        • 群组