V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Scirocco
V2EX  ›  Linux

Manjaro 使用 pacman-mirrors 为什么只显示一个可选镜像源?

  •  
  •   Scirocco ·
    Sciroccogti · May 5, 2023 · 1709 views
    This topic created in 1094 days ago, the information mentioned may be changed or developed.

    我根据各个镜像源教程提示的:

    sudo pacman-mirrors -i -c China -m rank
    

    结果只显示一个 上交 的镜像源:

    $ sudo pacman-mirrors -i -c China -m rank
    ::INFO Downloading mirrors from Manjaro
    ::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
    ::INFO => Mirror status: https://repo.manjaro.org/status.json
    ::INFO Using default mirror file
    ::INFO Querying mirrors - This may take some time
      0.221 China          : https://mirrors.sjtug.sjtu.edu.cn/manjaro/
    
    

    看了 Manjaro 手册 Pacman-mirrors,把上面提示的配置文件都检查了一遍,似乎也没看到限制镜像源的配置。。

    3 replies    2023-05-05 18:40:14 +08:00
    f1ush
        1
    f1ush  
       May 5, 2023   ❤️ 1
    看了下 https://repo.manjaro.org/status.json 里面的数据,虽不然我也不懂 branch 数字具体的含义,不过应该是只有 sjtu 的源 branch 都是 1 ,其他的 china 都是 0 ;我猜测或许其他源在官方那边不是 stable 启用的。
    alne
        2
    alne  
       May 5, 2023
    可能其他源挂了,换个时间再测一下就行了
    Scirocco
        3
    Scirocco  
    OP
       May 5, 2023
    @f1ush #1 确实是!用 sudo pacman-mirrors -a --set-branch unstable -i -c China -m rank 就都有了,非常感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2567 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 12:35 · PVG 20:35 · LAX 05:35 · JFK 08:35
    ♥ Do have faith in what you're doing.