美文网首页
manjaro18 配置国内镜像源

manjaro18 配置国内镜像源

作者: MrChenyz | 来源:发表于2019-03-15 19:23 被阅读0次

    1.配置镜像源:

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

    2.设置 archlinuxcn 源:

    sudo nano /etc/pacman.conf
    
    添加以下内容
    [archlinuxcn]
    SigLevel = Optional TrustedOnly
    Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
    

    3.完成后执行下面的命令使配置生效
    更新源列表
    sudo pacman-mirrors -g

    为了安装使用aur方便,也可以额外安装一下yaourt
    sudo pacman -Sy yaourt
    

    4.更新pacman数据库并全面更新系统
    sudo pacman -Syyu

    1. 防止PGP签名错误

      sudo pacman -S archlinuxcn-keyring

    2. 安装软件

    解决部分AUR软件源安装404

    ##
    ## Manjaro Linux default mirrorlist
    ## Generated on 2019-03-26 21:55
    ##
    ## Please use 'pacman-mirrors -f [NUMBER] [NUMBER]' to modify mirrorlist
    ## (Use 0 for all mirrors)
    ##
    ## China
    Server = http://mirrors.163.com/archlinux/$repo/os/$arch
    Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.shu6.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
    Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
    Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch
    
    
    
    
    
    
    
    
    
    
    ## Country : Netherlands
    #Server = https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
    
    ## Country : United_States
    #Server = https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    
    ## Country : Hungary
    #Server = https://quantum-mirror.hu/mirrors/pub/manjaro/stable/$repo/$arch
    
    ## Country : Iran
    #Server = https://repo.sadjad.ac.ir/manjaro/stable/$repo/$arch
    
    ## Country : Canada
    #Server = https://osmirror.org/manjaro/stable/$repo/$arch
    
    ## Country : Sweden
    #Server = https://mirror.operationtulip.com/manjaro/stable/$repo/$arch
    
    ## Country : Denmark
    #Server = https://www.uex.dk/public/manjaro/stable/$repo/$arch
    
    ## Country : Ukraine
    #Server = http://mirrors.colocall.net/manjaro/stable/$repo/$arch
    
    ## Country : Colombia
    #Server = http://mirror.upb.edu.co/manjaro/stable/$repo/$arch
    
    ## Country : United_Kingdom
    #Server = http://repo.manjaro.org.uk/stable/$repo/$arch
    
    ## Country : Austria
    #Server = http://mirror.easyname.at/manjaro/stable/$repo/$arch
    
    ## Country : Sweden
    #Server = https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    
    ## Country : Chile
    #Server = http://manjaro.dcc.uchile.cl/stable/$repo/$arch
    
    ## Country : South_Africa
    #Server = http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    
    ## Country : Belgium
    #Server = https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    
    ## Country : United_States
    #Server = https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
    
    ## Country : Brazil
    #Server = https://www.caco.ic.unicamp.br/manjaro/stable/$repo/$arch
    
    ## Country : Germany
    #Server = http://mirror.ragenetwork.de/manjaro/stable/$repo/$arch
    
    ## Country : United_Kingdom
    #Server = http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
    
    ## Country : Germany
    #Server = https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
    
    ## Country : Italy
    #Server = https://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    
    ## Country : Belarus
    #Server = http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
    
    ## Country : United_Kingdom
    #Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    
    ## Country : United_States
    #Server = https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    
    ## Country : Bulgaria
    #Server = https://mirrors.netix.net/manjaro/stable/$repo/$arch
    
    ## Country : United_Kingdom
    #Server = http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    
    ## Country : Costa_Rica
    #Server = https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
    
    ## Country : Brazil
    #Server = https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    
    ## Country : Ecuador
    #Server = https://mirror.espoch.edu.ec/manjaro/stable/$repo/$arch
    
    ## Country : Germany
    #Server = https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    
    ## Country : Japan
    #Server = http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    
    ## Country : Brazil
    #Server = http://pet.inf.ufsc.br/mirrors/manjarolinux/stable/$repo/$arch
    
    ## Country : Germany
    #Server = https://mirror.philpot.de/manjaro/stable/$repo/$arch
    
    ## Country : Philippines
    #Server = http://mirror.rise.ph/manjaro/stable/$repo/$arch
    
    ## Country : France
    #Server = http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    
    ## Country : United_States
    #Server = https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    
    ## Country : Denmark
    #Server = https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    
    ## Country : Austria
    #Server = http://mirror.inode.at/manjaro/stable/$repo/$arch
    
    ## Country : Turkey
    #Server = http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    
    ## Country : Germany
    #Server = https://manjaro.moson.eu/stable/$repo/$arch
    
    ## Country : Hong_Kong
    #Server = http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
    
    ## Country : Poland
    #Server = https://mirror.tuchola-dc.pl/manjaro/stable/$repo/$arch
    
    ## Country : Brazil
    #Server = http://linorg.usp.br/manjaro/stable/$repo/$arch
    
    ## Country : Russia
    #Server = http://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    
    ## Country : United_States
    #Server = http://distro.ibiblio.org/manjaro/stable/$repo/$arch
    
    ## Country : Czech
    #Server = https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    
    ## Country : Sweden
    #Server = https://mirror.zetup.net/manjaro/stable/$repo/$arch
    
    ## Country : Netherlands
    #Server = http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    
    ## Country : Indonesia
    #Server = https://mirror.deace.id/manjaro/stable/$repo/$arch
    
    ## Country : South_Africa
    #Server = http://manjaro.mirror.ac.za/stable/$repo/$arch
    
    ## Country : New_Zealand
    #Server = https://manjaro.mirrors.theom.nz/stable/$repo/$arch
    
    ## Country : Netherlands
    #Server = https://mirror.koddos.net/manjaro/stable/$repo/$arch
    
    ## Country : Kenya
    #Server = https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    
    ## Country : Italy
    #Server = https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    
    ## Country : France
    #Server = http://kibo.remi.lu/stable/$repo/$arch
    
    ## Country : Italy
    #Server = https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    
    ## Country : Russia
    #Server = https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    
    ## Country : Poland
    #Server = http://ftp.vectranet.pl/manjaro/stable/$repo/$arch
    
    ## Country : Spain
    #Server = https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
    
    ## Country : Germany
    #Server = https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    
    ## Country : Netherlands
    #Server = https://mirror.neostrada.nl/manjaro/stable/$repo/$arch
    
    ## Country : Bulgaria
    #Server = http://manjaro.telecoms.bg/stable/$repo/$arch
    
    ## Country : Bangladesh
    #Server = http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    
    ## Country : Australia
    #Server = http://manjaro.melbourneitmirror.net/stable/$repo/$arch
    
    ## Country : Ecuador
    #Server = https://mirror.cedia.org.ec/manjaro/stable/$repo/$arch
    
    ## Country : Bulgaria
    #Server = https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    
    
    

    相关文章

      网友评论

          本文标题:manjaro18 配置国内镜像源

          本文链接:https://www.haomeiwen.com/subject/odnrmqtx.html