• Mirrorlist


    Hi everybody. Still happy with my Antergos.

    I have a few questions about my mirrorlist. I see in my mirrorlist Greece, Netherlands and other country’s. The best mirror is for Australia. That one is not on the list.
    I have everyday problems with update and upgrade. I take too long to do that. So several times a day i try to update it.

    Can i change the mirrorlist in etc/pacman.d? Can i ad Australia and delete other country’s? Like China or Germany?
    Australia has i think around 15 severs. Can i put them all in the mirrorlist?

    The library from antergos.db is almost never possible to get that. How can i fix that?

    Thanks for your time.

  • Hi everybody. Still happy with my Antergos.

    I have a few questions about my mirrorlist. I see in my mirrorlist Greece, Netherlands and other country’s. The best mirror is for Australia. That one is not on the list.
    I have everyday problems with update and upgrade. I take too long to do that. So several times a day i try to update it.

    Can i change the mirrorlist in etc/pacman.d? Can i ad Australia and delete other country’s? Like China or Germany?
    Australia has i think around 15 severs. Can i put them all in the mirrorlist?

    The library from antergos.db is almost never possible to get that. How can i fix that?

    Thanks for your time.

  • Hi!

    Yes, you most certainly can edit the file /etc/pacman.d/mirrorlist with only the mirrors you prefer. It sounds like you already know which mirrors perform the best for your location but the following information is useful so I’m including it:

    To Find Best Mirrors For Your Location:

    1. Ensure you have reflector installed:

    sudo pacman -S reflector
    

    2. Run the following command (it may take a few minutes to complete):

    reflector -l 50 -f 20 --save /tmp/mirrorlist.new && rankmirrors -n 0 /tmp/mirrorlist.new \> /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    

    That will take care of the Arch mirrors. For the Antergos mirrors, there is a separate mirrorlist file that you can sort by the best connection with:

    sudo rankmirrors -n 0 /etc/pacman.d/antergos-mirrorlist \> /tmp/antergos-mirrorlist && sudo cp /tmp/antergos-mirrorlist /etc/pacman.d
    

    EDIT: You will need to remove the # tags before each mirror on the Antergos list before running the command.

    Hope this was helpful. Welcome to Antergos, btw!

    Best Regards,

  • Thanks Dustin,
    That was really a big help for me.

  • @“MichaelTiebesl”:2d0bax9s said:

    Thanks Dustin,
    That was really a big help for me.[/quote:2d0bax9s]

    No problem! I think I will make this a sticky because it really is something everyone should know!

  • I also tryed this, but i get this output, can smoeone help me out

    [email protected] ~]$ sudo pacman -S reflector  
      
    Als het goed is hebt u de gebruikelijke informatie ontvangen van uw  
    systeembeheerder. Gewoonlijk komt het neer op de volgende drie punten:  
      
    1\. Respecteer de privacy van anderen.  
    2\. Denk na voordat u iets doet.  
    3\. Veel mogelijkheden betekend veel verantwoordelijkheid.  
      
    [sudo] password for drum:   
    oplossen van afhankelijkheden...  
    controle van interne conflicten...  
      
    Packages (1): reflector-2014-2  
      
    Total Download Size: 0,01 MiB  
    Total Installed Size: 0,09 MiB  
      
    :: Proceed with installation? [Y/n] y  
    error: geen server ingesteld voor repository: community  
    error: failed to commit transaction (geen server ingesteld voor repository)  
    Errors occurred, no packages were upgraded.
    

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • Check your /etc/pacman.conf and ensure everything looks normal for community repo:

      
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist
    

    If that looks okay then run “pacman -Syyu” and afterwards try installing reflector again. Seems like there are a few issues with mirrors right now as I had similar issue just a few minutes ago. It usually will resolve itself within a couple hours if its mirror related.

    Best Regards,

  • to me it looks fine:

    \#  
    \# /etc/pacman.conf  
    \#  
    \# See the pacman.conf(5) manpage for option and repository directives  
      
    \#  
    \# GENERAL OPTIONS  
    \#  
    [options]  
    \# The following paths are commented out with their default values listed.  
    \# If you wish to use different paths, uncomment and update the paths.  
    \#RootDir = /  
    \#DBPath = /var/lib/pacman/  
    \#CacheDir = /var/cache/pacman/pkg/  
    \#LogFile = /var/log/pacman.log  
    \#GPGDir = /etc/pacman.d/gnupg/  
    HoldPkg = pacman glibc  
      
    \#XferCommand = /usr/bin/curl -C - -f %u \> %o  
    \#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u  
    \#CleanMethod = KeepInstalled  
    Architecture = auto  
      
    \# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup  
    \#IgnorePkg =  
    \#IgnoreGroup =  
      
    \#NoUpgrade =  
    \#NoExtract =  
      
    \# Misc options  
    \#UseSyslog  
    \#UseDelta  
    \#TotalDownload  
    \#Color  
    \# We cannot check disk space from within a chroot environment  
    CheckSpace  
    \#VerbosePkgLists  
      
    \# By default, pacman accepts packages signed by keys that its local keyring  
    \# trusts (see pacman-key and its man page), as well as unsigned packages.  
    SigLevel = Optional  
    \#LocalFileSigLevel = Optional  
      
    \# NOTE: You must run \`pacman-key --init\` before first using pacman; the local  
    \# keyring can then be populated with the keys of all official Arch Linux  
    \# packagers with \`pacman-key --populate archlinux\`.  
      
    \#  
    \# REPOSITORIES  
    \# - can be defined here or included from another file  
    \# - pacman will search repositories in the order defined here  
    \# - local/custom mirrors can be added here or in separate files  
    \# - repositories listed first will take precedence when packages  
    \# have identical names, regardless of version number  
    \# - URLs will have $repo replaced by the name of the current repo  
    \# - URLs will have $arch replaced by the name of the architecture  
    \#  
    \# Repository entries are of the format:  
    \# [repo-name]  
    \# Server = ServerName  
    \# Include = IncludePath  
    \#  
    \# The header [repo-name] is crucial - it must be present and  
    \# uncommented to enable the repo.  
    \#  
      
    \# The testing repositories are disabled by default. To enable, uncomment the  
    \# repo name header and Include lines. You can add preferred servers immediately  
    \# after the header, and they will be used before the default mirrors.  
      
      
    \#[testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [core]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    [extra]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    \#[community-testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [community]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
      
    \# An example of a custom package repository. See the pacman manpage for  
    \# tips on creating your own repositories.  
    \#[custom]  
    \#SigLevel = Optional TrustAll  
    \#Server = file:///home/custompkgs  
      
    [antergos]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/antergos-mirrorlist  
      
    [multilib]  
    SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist
    

    I will rum pacman -Syyu and see, this is what i get:

    [[email protected] drum]\# pacman -Syyu  
    :: Synchronizing package databases...  
    error: failed to update core (geen server ingesteld voor repository)  
    error: failed to update extra (geen server ingesteld voor repository)  
    error: failed to update community (geen server ingesteld voor repository)  
    antergos 50,9 KiB 124K/s 00:00 [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    error: failed to update multilib (geen server ingesteld voor repository)  
    :: Starting full system upgrade...  
    there is nothing to do
    

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • Erase what’s in your /etc/pacman.d/mirrorlist file and put this in its place:

    \# Server list generated by rankmirrors on 2014-01-07  
    \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#  
    \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\# Arch Linux mirrorlist generated by Reflector \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#  
    \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#  
    \# With: reflector -l 50 -f 20 --save /tmp/mirrorlist.new  
    \# When: 2014-01-07 14:26:49 UTC  
    \# From: https://www.archlinux.org/mirrors/status/json/  
    \# Retrieved: 2014-01-07 14:25:17 UTC  
    \# Last Check: 2014-01-07 14:08:17 UTC  
    Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch  
    Server = http://mirror.umd.edu/archlinux/$repo/os/$arch  
    Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch  
    Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch  
    Server = http://lug.mtu.edu/archlinux/$repo/os/$arch  
    Server = http://arch.apt-get.eu/$repo/os/$arch  
    Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch  
    Server = http://archlinux.polymorf.fr/$repo/os/$arch  
    Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch  
    Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch  
    Server = http://mirror.unitedcolo.de/archlinux/$repo/os/$arch  
    Server = http://mirror.hactar.bz/$repo/os/$arch  
    Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch  
    Server = http://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch  
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch  
    Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch  
    Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch  
    Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch  
    Server = http://ftp.tuxdroid.org/archlinux/$repo/os/$arch  
    Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
    

    That should allow you to refresh everything with pacman -Syyu. Whatever mirror you have listed currently must be having some down time which is causing the errors you are seeing. Let me know if that helps!

    Cheers!

  • [[email protected] drum]\# pacman -Syyu  
    error: config file /etc/pacman.conf, line 12: All directives must belong to a section.
    

    is what i get after replacing pacman.conf

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • That was to put in /etc/pacman.d/mirrorlist not pacman.conf!

    Cheers!

  • Sorry, beginnersmistake

    [[email protected] drum]\# pacman -Syyu  
    error: config file /etc/pacman.conf, line 9: All directives must belong to a section.  
    
    

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • Look at line 9 of your pacman.conf, something is not correct. If you dont see it, post your pacman.conf here so I can take a look.

    Best Regards,

  •  \#  
    \# /etc/pacman.conf  
    \#  
    \# See the pacman.conf(5) manpage for option and repository directives  
      
    \#  
    \# GENERAL OPTIONS  
    \#  
    [options]  
    \# The following paths are commented out with their default values listed.  
    \# If you wish to use different paths, uncomment and update the paths.  
    \#RootDir = /  
    \#DBPath = /var/lib/pacman/  
    \#CacheDir = /var/cache/pacman/pkg/  
    \#LogFile = /var/log/pacman.log  
    \#GPGDir = /etc/pacman.d/gnupg/  
    HoldPkg = pacman glibc  
      
    \#XferCommand = /usr/bin/curl -C - -f %u \> %o  
    \#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u  
    \#CleanMethod = KeepInstalled  
    Architecture = auto  
      
    \# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup  
    \#IgnorePkg =  
    \#IgnoreGroup =  
      
    \#NoUpgrade =  
    \#NoExtract =  
      
    \# Misc options  
    \#UseSyslog  
    \#UseDelta  
    \#TotalDownload  
    \#Color  
    \# We cannot check disk space from within a chroot environment  
    CheckSpace  
    \#VerbosePkgLists  
      
    \# By default, pacman accepts packages signed by keys that its local keyring  
    \# trusts (see pacman-key and its man page), as well as unsigned packages.  
    SigLevel = Optional  
    \#LocalFileSigLevel = Optional  
      
    \# NOTE: You must run \`pacman-key --init\` before first using pacman; the local  
    \# keyring can then be populated with the keys of all official Arch Linux  
    \# packagers with \`pacman-key --populate archlinux\`.  
      
    \#  
    \# REPOSITORIES  
    \# - can be defined here or included from another file  
    \# - pacman will search repositories in the order defined here  
    \# - local/custom mirrors can be added here or in separate files  
    \# - repositories listed first will take precedence when packages  
    \# have identical names, regardless of version number  
    \# - URLs will have $repo replaced by the name of the current repo  
    \# - URLs will have $arch replaced by the name of the architecture  
    \#  
    \# Repository entries are of the format:  
    \# [repo-name]  
    \# Server = ServerName  
    \# Include = IncludePath  
    \#  
    \# The header [repo-name] is crucial - it must be present and  
    \# uncommented to enable the repo.  
    \#  
      
    \# The testing repositories are disabled by default. To enable, uncomment the  
    \# repo name header and Include lines. You can add preferred servers immediately  
    \# after the header, and they will be used before the default mirrors.  
      
      
    \#[testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [core]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    [extra]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    \#[community-testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [community]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
      
    \# An example of a custom package repository. See the pacman manpage for  
    \# tips on creating your own repositories.  
    \#[custom]  
    \#SigLevel = Optional TrustAll  
    \#Server = file:///home/custompkgs  
      
    [antergos]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/antergos-mirrorlist  
      
    [multilib]  
    SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist
    

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • It should not have any indentation. Like this:

    \#  
    \# /etc/pacman.conf  
    \#  
    \# See the pacman.conf(5) manpage for option and repository directives  
      
    \#  
    \# GENERAL OPTIONS  
    \#  
    [options]  
    \# The following paths are commented out with their default values listed.  
    \# If you wish to use different paths, uncomment and update the paths.  
    \#RootDir = /  
    \#DBPath = /var/lib/pacman/  
    \#CacheDir = /var/cache/pacman/pkg/  
    \#LogFile = /var/log/pacman.log  
    \#GPGDir = /etc/pacman.d/gnupg/  
    HoldPkg = pacman glibc  
      
    \#XferCommand = /usr/bin/curl -C - -f %u \> %o  
    \#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u  
    \#CleanMethod = KeepInstalled  
    Architecture = auto  
      
    \# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup  
    \#IgnorePkg =  
    \#IgnoreGroup =  
      
    \#NoUpgrade =  
    \#NoExtract =  
      
    \# Misc options  
    \#UseSyslog  
    \#UseDelta  
    \#TotalDownload  
    \#Color  
    \# We cannot check disk space from within a chroot environment  
    CheckSpace  
    \#VerbosePkgLists  
      
    \# By default, pacman accepts packages signed by keys that its local keyring  
    \# trusts (see pacman-key and its man page), as well as unsigned packages.  
    SigLevel = Optional  
    \#LocalFileSigLevel = Optional  
      
    \# NOTE: You must run \`pacman-key --init\` before first using pacman; the local  
    \# keyring can then be populated with the keys of all official Arch Linux  
    \# packagers with \`pacman-key --populate archlinux\`.  
      
    \#  
    \# REPOSITORIES  
    \# - can be defined here or included from another file  
    \# - pacman will search repositories in the order defined here  
    \# - local/custom mirrors can be added here or in separate files  
    \# - repositories listed first will take precedence when packages  
    \# have identical names, regardless of version number  
    \# - URLs will have $repo replaced by the name of the current repo  
    \# - URLs will have $arch replaced by the name of the architecture  
    \#  
    \# Repository entries are of the format:  
    \# [repo-name]  
    \# Server = ServerName  
    \# Include = IncludePath  
    \#  
    \# The header [repo-name] is crucial - it must be present and  
    \# uncommented to enable the repo.  
    \#  
      
    \# The testing repositories are disabled by default. To enable, uncomment the  
    \# repo name header and Include lines. You can add preferred servers immediately  
    \# after the header, and they will be used before the default mirrors.  
      
      
    \#[testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [core]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    [extra]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
    \#[community-testing]  
    \#SigLevel = PackageRequired  
    \#Include = /etc/pacman.d/mirrorlist  
      
    [community]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist  
      
      
    \# An example of a custom package repository. See the pacman manpage for  
    \# tips on creating your own repositories.  
    \#[custom]  
    \#SigLevel = Optional TrustAll  
    \#Server = file:///home/custompkgs  
      
    [antergos]  
    \#SigLevel = PackageRequired  
    Include = /etc/pacman.d/antergos-mirrorlist  
      
    [multilib]  
    SigLevel = PackageRequired  
    Include = /etc/pacman.d/mirrorlist
    

    Cheers!

  • That did it, tnx very much

    Intel Xeon cpu W3565 @ 3.2 GHZ, 10 GB ram: Antergos-DDE
    AMD FX-8120 Eight-Core @ 3.1GHz, 16 GB ram: Deepin 15.04

  • You’re welcome!

  • You can as well use the online mirrorlist generator.

    [https://www.archlinux.org/mirrorlist/][0]">[https://www.archlinux.org/mirrorlist/][1]

    [0]: <a href=
    [1]: https://www.archlinux.org/mirrorlist/

    Please give a feedback after you get help so the thread can be set to solved.

  • @lots.0.logs

    when I copy any paste that , I get

    ‘>’ does not exist.

  • @Willstar44

    Please make a new topic for your issue. This issue is from 2 years ago.

    I7 [email protected]/32GB Ram/3440 x 1440 + 1440p/EVGA 1080 FTW/512GB SSD/2TB HD/Antergos Base w/ Plasma

Posts 20Views 10988
Log in to reply