• New package: remirror (obsoletes reflector-antergos)


    @freefreeno hey, no need to slag off the Arch guys, they are doing a splendid job, that is why me and you can have a distro like Antergos.
    Whatever their philosophy or thinking they are not actively harming anyone.
    I’d argue that they are doing a lot of good.
    The fact that me and you find Arch difficult to install and use does not mean they are stupid or bad in any way.
    Just that their way is different.

  • Yeah, let the Arch guys do all the hard work. Antergos will stand on top of Arch and improve upon them.

  • @freefreeno said in New package: remirror (obsoletes reflector-antergos):

    Does remirror rank all mirrors or only the mirror list that you already have in the file???

    By default, remirror ranks all https mirrors but not http mirrors.
    With option --p also http mirrors can be included.
    Other options may be used for limiting which mirrors will be in the final result. And all mirrors that have problems with connection or keeping packages updated will be excluded during the ranking process.

    But with option --of you can add the full list into the end of the final list.
    But note that the full list has mirrors commented out for Arch. The full list for Antergos has not commented them out. That’s the way Arch and Antergos devs have designed their full lists, and --of just copies those lists for reference.

  • @Quantum_Sniper said in New package: remirror (obsoletes reflector-antergos):

    Yeah, let the Arch guys do all the hard work. Antergos will stand on top of Arch and improve upon them.

    With all due respect, think before writing. Your appreciation is not correct. If we are all in Antergos today, it is because at the time, someone, created Arch.

  • complain about Archlinux is not welcome in the ANTERGOS forum.
    This is unfair and disrespectful to those who develop our system.

  • Sorry for my comment. Meant no disrespect for the Arch team and if anybody was offended/hurt, I am sorry. Won’t happen again.

  • journalctl | grep remirror

    Jan 05 16:36:27 empowered64 systemd[1]: Started Run remirror periodically.
    Jan 06 01:50:57 empowered64 systemd[1]: Stopped Run remirror periodically.
    Jan 06 11:44:05 empowered64 systemd[1]: Started Run remirror periodically.
    Jan 06 23:51:51 empowered64 systemd[1]: Stopped Run remirror periodically.
    Jan 07 20:05:41 empowered64 systemd[1]: Started Run remirror periodically.
    Jan 07 20:05:41 empowered64 systemd[1]: Starting remirror updates mirror lists in /etc/pacman.d...
    Jan 07 20:05:41 empowered64 remirror[501]: --p=https --save=yes --save=backup1 --p=https --sleep=60 --c-antergos=Germany,Netherlands,Poland --c-arch=Germany,Netherlands,Poland
    Jan 07 20:06:40 empowered64 remirror[501]: Ranking Antergos mirrors ...
    Jan 07 20:06:42 empowered64 remirror[501]: Reference site and file: https://repo.antergos.info/antergos/x86_64/antergos.files.tar.gz
    Jan 07 20:06:43 empowered64 remirror[501]: Germany
    Jan 07 20:06:44 empowered64 remirror[501]:    0,391 (OK)                 https://mirror.de.leaseweb.net/antergos/$repo/$arch
    Jan 07 20:06:49 empowered64 remirror[501]:    4,999 (fail: operation timeout) https://mirror.alpix.eu/antergos/$repo/$arch
    Jan 07 20:06:49 empowered64 remirror[501]: Netherlands
    Jan 07 20:06:49 empowered64 remirror[501]:    0,413 (OK)                 https://mirror.nl.leaseweb.net/antergos/$repo/$arch
    Jan 07 20:06:50 empowered64 remirror[501]:    0,476 (OK)                 https://ftp1.nluug.nl/os/Linux/distr/antergos/$repo/$arch
    Jan 07 20:06:50 empowered64 remirror[501]:    0,766 (OK)                 https://ftp2.nluug.nl/os/Linux/distr/antergos/$repo/$arch
    Jan 07 20:06:53 empowered64 remirror[501]:    2,402 (OK)                 https://mirror.neostrada.nl/antergos/$repo/$arch
    Jan 07 20:06:53 empowered64 remirror[501]: Ranking Arch mirrors ...
    Jan 07 20:06:53 empowered64 remirror[501]: Reference site and file: https://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.files.tar.gz
    Jan 07 20:06:54 empowered64 remirror[501]: Germany
    Jan 07 20:06:54 empowered64 remirror[501]:    0,369 (OK)                 https://appuals.com/archlinux/$repo/os/$arch
    Jan 07 20:06:54 empowered64 remirror[501]:    0,387 (OK)                 https://mirror.bethselamin.de/$repo/os/$arch
    Jan 07 20:06:55 empowered64 remirror[501]:    0,375 (OK)                 https://mirror.checkdomain.de/archlinux/$repo/os/$arch
    Jan 07 20:06:55 empowered64 remirror[501]:    0,268 (OK)                 https://arch.eckner.net/archlinux/$repo/os/$arch
    Jan 07 20:06:56 empowered64 remirror[501]:    0,544 (contents differ)    https://mirror.f4st.host/archlinux/$repo/os/$arch
    Jan 07 20:06:56 empowered64 remirror[501]:    0,387 (OK)                 https://ftp.fau.de/archlinux/$repo/os/$arch
    Jan 07 20:06:57 empowered64 remirror[501]:    0,512 (OK)                 https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch
    Jan 07 20:06:57 empowered64 remirror[501]:    0,358 (OK)                 https://mirror.gnomus.de/$repo/os/$arch
    Jan 07 20:06:58 empowered64 remirror[501]:    0,491 (contents differ)    https://mirror.hactar.xyz/$repo/os/$arch
    Jan 07 20:06:58 empowered64 remirror[501]:    0,350 (contents differ)    https://arch.jensgutermuth.de/$repo/os/$arch
    Jan 07 20:06:59 empowered64 remirror[501]:    0,576 (OK)                 https://k42.ch/mirror/archlinux/$repo/os/$arch
    Jan 07 20:06:59 empowered64 remirror[501]:    0,549 (OK)                 https://archlinux.layer8.fail/$repo/os/$arch
    Jan 07 20:07:00 empowered64 remirror[501]:    0,339 (OK)                 https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch
    Jan 07 20:07:00 empowered64 remirror[501]:    0,390 (OK)                 https://mirror.metalgamer.eu/archlinux/$repo/os/$arch
    Jan 07 20:07:00 empowered64 remirror[501]:    0,473 (contents differ)    https://mirrors.n-ix.net/archlinux/$repo/os/$arch
    Jan 07 20:07:01 empowered64 remirror[501]:    0,402 (OK)                 https://mirror.netcologne.de/archlinux/$repo/os/$arch
    Jan 07 20:07:01 empowered64 remirror[501]:    0,508 (contents differ)    https://mirrors.niyawe.de/archlinux/$repo/os/$arch
    Jan 07 20:07:02 empowered64 remirror[501]:    0,408 (OK)                 https://archlinux.nullpointer.io/$repo/os/$arch
    Jan 07 20:07:02 empowered64 remirror[501]:    0,429 (contents differ)    https://mirror.orbit-os.com/archlinux/$repo/os/$arch
    Jan 07 20:07:03 empowered64 remirror[501]:    0,456 (contents differ)    https://packages.oth-regensburg.de/archlinux/$repo/os/$arch
    Jan 07 20:07:03 empowered64 remirror[501]:    0,351 (contents differ)    https://mirror.pseudoform.org/$repo/os/$arch
    Jan 07 20:07:04 empowered64 remirror[501]:    0,141 (contents differ)    https://www.ratenzahlung.de/mirror/archlinux/$repo/os/$arch
    Jan 07 20:07:04 empowered64 remirror[501]:    0,429 (contents differ)    https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
    Jan 07 20:07:04 empowered64 remirror[501]:    0,399 (OK)                 https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
    Jan 07 20:07:05 empowered64 remirror[501]:    0,448 (OK)                 https://archlinux.thaller.ws/$repo/os/$arch
    Jan 07 20:07:05 empowered64 remirror[501]:    0,419 (OK)                 https://mirror.thomaskilian.net/archlinux/$repo/os/$arch
    Jan 07 20:07:06 empowered64 remirror[501]:    0,429 (OK)                 https://mirror.ubrco.de/archlinux/$repo/os/$arch
    
    Jan 07 20:07:06 empowered64 remirror[501]:    0,457 (OK)                 https://ftp.wrz.de/pub/archlinux/$repo/os/$arch
    Jan 07 20:07:07 empowered64 remirror[501]: Netherlands
    Jan 07 20:07:07 empowered64 remirror[501]:    0,418 (OK)                 https://mirror.i3d.net/pub/archlinux/$repo/os/$arch
    Jan 07 20:07:07 empowered64 remirror[501]:    0,394 (OK)                 https://mirror.koddos.net/archlinux/$repo/os/$arch
    Jan 07 20:07:08 empowered64 remirror[501]:    0,990 (OK)                 https://archmirror.lavatech.top/$repo/os/$arch
    Jan 07 20:07:09 empowered64 i3-gnome.desktop[2988]: [3041:3041:0107/200709.297160:ERROR:x11_input_method_context_impl_gtk.cc(144)] Not implemented reached in virtual void libgtkui::X11InputMethodContextImplGtk::SetSurroundingText(const base::string16 &, const gfx::Range &)
    Jan 07 20:07:09 empowered64 remirror[501]:    0,345 (OK)                 https://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch
    Jan 07 20:07:12 empowered64 kernel: logitech-hidpp-device 0003:046D:101A.0006: HID++ 1.0 device connected.
    Jan 07 20:07:12 empowered64 upowerd[900]: treating change event as add on /sys/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1.3/8-1.3:1.2/0003:046D:C52B.0005/0003:046D:101A.0006/power_supply/hidpp_battery_0
    Jan 07 20:07:14 empowered64 remirror[501]:    5,001 (fail: operation timeout) https://mirror.neostrada.nl/archlinux/$repo/os/$arch
    Jan 07 20:07:14 empowered64 remirror[501]:    0,486 (contents differ)    https://archlinux.mirror.pcextreme.nl/$repo/os/$arch
    Jan 07 20:07:15 empowered64 remirror[501]:    0,320 (OK)                 https://archlinux.mirror.wearetriple.com/$repo/os/$arch
    Jan 07 20:07:15 empowered64 remirror[501]: :: Synchronisiere Paketdatenbanken...
    Jan 07 20:07:15 empowered64 remirror[501]: Lade antergos.db herunter...
    Jan 07 20:07:15 empowered64 remirror[501]: Lade core.db herunter...
    Jan 07 20:07:15 empowered64 remirror[501]: Lade extra.db herunter...
    Jan 07 20:07:16 empowered64 remirror[501]: Lade community.db herunter...
    Jan 07 20:07:16 empowered64 remirror[501]: Lade multilib.db herunter...
    Jan 07 20:07:17 empowered64 systemd[1]: Started remirror updates mirror lists in /etc/pacman.d.
    Jan 07 20:07:17 empowered64 systemd[1]: Startup finished in 3.266s (kernel) + 1min 38.422s (userspace) = 1min 41.688s.
    Jan 07 20:07:17 empowered64 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=remirror comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    Jan 07 20:07:17 empowered64 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=remirror comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    
    systemctl list-timers
    NEXT                         LEFT                LAST                         PASSED     UNIT                         ACTIVATES
    Mon 2019-01-07 20:20:35 CET  4min 18s left       n/a                          n/a        systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
    Tue 2019-01-08 00:00:00 CET  3h 43min left       Thu 2019-01-03 00:00:01 CET  4 days ago bups.timer                   bups.service
    Tue 2019-01-08 00:01:56 CET  3h 45min left       Mon 2019-01-07 20:05:41 CET  10min ago  shadow.timer                 shadow.service
    Tue 2019-01-08 00:03:43 CET  3h 47min left       Mon 2019-01-07 20:05:41 CET  10min ago  logrotate.timer              logrotate.service
    Tue 2019-01-08 00:03:57 CET  3h 47min left       Mon 2019-01-07 20:05:41 CET  10min ago  updatedb.timer               updatedb.service
    Tue 2019-01-08 00:04:14 CET  3h 47min left       Mon 2019-01-07 20:05:41 CET  10min ago  man-db.timer                 man-db.service
    Mon 2019-01-14 00:00:00 CET  6 days left         Mon 2019-01-07 20:05:41 CET  10min ago  fstrim.timer                 fstrim.service
    Mon 2019-01-14 00:00:00 CET  6 days left         Mon 2019-01-07 20:05:41 CET  10min ago  remirror.timer               remirror.service
    Sat 2019-02-02 15:00:00 CET  3 weeks 4 days left Sat 2019-01-05 16:36:27 CET  2 days ago pamac-cleancache.timer       pamac-cleancache.service
    
    9 timers listed.
    Pass --all to see loaded but inactive timers, too.
    
    

    looks like working now?

  • @joekamprad
    Looks like it, yes!

  • I’m on vanilla Arch now and I’m still using this. Seriously, good work. :)

  • @Sukid So i don’t see remirror in the package manager. I just have what ever is installed by Antergos install on my system and i have not used reflector. I have never installed anything from the git. So you can download it or clone? How does one install it and how does it work?

  • @Sukid Okay…so i have it installed. Now i just have to learn how to use it.

  • @manuel I have just installed your remirror. I only have used what Antergos had on initial install. I have not used reflector or anything else. So what is the first thing i need to do? I would like to have mirrors for Canada and USA only and ranked. I don’t feel i need anymore than that or should i only use the mirrors of the country i am located? Could you walk me through the process since i only have installed it and have not done anything yet. Remember, i am not a programmer so that is why i am asking for a walk through. So my questions are do you need to set it up first to find the mirror location and then rank them? Or does it automatically do this if i specify a country? and so on? Where do i start? How do i see what mirrors i am using currently and their ranking? Then set this up.

  • @ricklinux edit /etc/remirror.conf to your needs:
    sudo nano /etc/remirror.conf

    REMIRROR_PREOPTIONS="--p=https --save=yes"
    REMIRROR_POSTOPTIONS="--c-arch=Canada,United States"
    

    save with [Ctrl+X]

    then you need only run remirror from terminal and it will use this settings.

    or you create a commandline like this:

    remirror --save=yes  --p=https --c-arch=Canada,United States
    

    –c-arch will use country filter only for arch-mirrors, as i think it is not really needed on the small amount of available antergos mirrors.

    or as we are used from arch sayin:

    read the mfm! —> remirror --help 😇 🖖

  • and this tool should be installed by default on Antergos for sure!
    as we have a lot of failing outdated mirrors problems on both ARCH and Antergos mirrors…
    I do testing this now till @manuel created this and i do never have an issue with the tool itself or outdated mirrors in this time, updates are faster and secured as i can choose https mirrors only.
    And special on Archmirrors there is a huge list and it is a must do to get the best working mirrors at your system fitting your region.

  • @joekamprad said in New package: remirror (obsoletes reflector-antergos):

    –c-arch=Canada,United States

    A small but important correction: spaces in the country names need to be changed to underscores (_).

    And another relatively recent change in remirror 0.1.45 allows using the same country names (like USA or United_States) of Arch and Antergos mirror countries.

    So, the above option should be written as:

    --c-arch=Canada,United_States   # note the underscore
    

    or maybe the easiest way:

    --c-arch=Canada,USA
    

    One more tip: command

    remirror --help
    

    shows the default values of options, in addition to the help info. So if any default option value suits you, that particular option naturally doesn’t need to be repeated on the command line.

    The changelog of remirror is here.

  • @manuel @joekamprad I did have a quick look at the help but understanding what the commands do and how to use them is sometimes confusing as i don’t know what they do. I like to understand the command as i have no programming experience. So if i use this command will it automatically change the remirror.conf file?

    remirror --save=yes --p=https --c-arch=Canada,United_States

    What is the advantage or disadvantage to limiting the mirrors to say only Canada, USA as opposed to ALL mirrors available? Just speed?

  • @ricklinux
    Instructions from @joekamprad are very good.

    And if I understand you correctly, a simple

    remirror --c=Canada,USA
    

    should do the job. Other options are at their default values, and I’ve tried to make the defaults reasonable.

    You could write your options to file /etc/remirror.conf (which contains definitions in bash syntax):

    REMIRROR_PREOPTIONS=(
        "--c=Canada,USA"
        "--x=advancedhosters,hackingand"   # these are just examples of how to use the --x option
    )
    

    and then you don’t need to give those options at the command line, simple remirror will do.

    You can check the default option values with

    remirror --help
    

    If fine tuning is required, option --x for excluding certain specific mirrors might be useful.
    And option --save determines how you backup the “old” ranked mirror lists.

    Then option --list shows the country names as they should be written at the --c, --c-arch and --c-antergos options.

  • @joekamprad said in New package: remirror (obsoletes reflector-antergos):

    remirror --save=yes --p=https --c-arch=Canada,United States

    Okay so i ran this command.
    remirror --save=yes --p=https --c-arch=Canada,USA

    Does this save only the ARCH mirrors for Canada, USA?

    What about Antergos mirrors it had lots. So do i need all of them?

  • @ricklinux
    Yes, it saves the Arch mirrorlist.
    See my previous post.

  • @manuel Okay i think i understand. If i use nano and change the mirror.conf file it will be default and i can just run the command remirror. Otherwise i just run a command with what ever i tell it as per your instructions or the help or default examples you have provided.

remirror1 Posts 92Views 2239
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.