# Is there a tool like pacmanmirrors -g from the Manjaro for evaluating mirrors?

**URL:** <https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697>\
**Category:** Pacman & AUR helpers\
**Created:** [December 10, 2022, 6:00am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697 "2022-12-10T06:00:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![handy](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/handy/32/68965_2.png) [@handy](https://forum.endeavouros.com/u/handy)\
**Post date:** [December 10, 2022, 6:00am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/1 "2022-12-10T06:00:08Z")

</div>

I left Manjaro in 2017, so I’m completely out of touch with Arch (I used Artix for bit but left them too).

Are there any tools for checking on mirror speed & if they are up to date?

When using Artix, I had to resort to the following (instead of pacmanmirrors -g) to do the job. It is ugly. It is part of a menu driven script that I’ve just simplified greatly for EOS:

[code]  
msg “Processing mirrors:”  
echo  
#wget [https://www.archlinux.org/mirrorlist/all/https/](https://www.archlinux.org/mirrorlist/all/https/) -O /etc/pacman.d/allservers \>& /dev/null  
#msg “Editing allservers file”  
#sudo sed -i ‘s/^#Server/Server/’ /etc/pacman.d/allservers  
msg “Removing comments from server lines in mirrorlist-arch-original”  
sudo sed -i ‘s/^#Server/Server/’ /etc/pacman.d/mirrorlist-arch-original  
msg “Running rankmirrors on mirrorlist-arch(-original)”  
rankmirrors -n 6 /etc/pacman.d/mirrorlist-arch-original \> /etc/pacman.d/mirrorlist-arch  
msg “Removing comments from server lines in mirrorlist-artix-original”  
sudo sed -i ‘s/^#Server/Server/’ /etc/pacman.d/mirrorlist-artix-original  
msg “Running rankmirrors on mirrorlist(-artix)”  
rankmirrors -n 6 /etc/pacman.d/mirrorlist-artix-original \> /etc/pacman.d/mirrorlist  
msg “Updating your pacman databases”  
echo  
msg “Your mirrors have been ranked &”  
msg “the mirrorlist(s) have now been refreshed.”  
echo  
msg “Refreshing your pacman database:”  
sudo pacman -Syy  
echo  
msg “Your mirrors & package database are now synchronised.”

[code]

---

<div class="post-metadata">

**Author:** ![kjw](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kjw/32/9327_2.png) [@kjw](https://forum.endeavouros.com/u/kjw)\
**Post date:** [December 10, 2022, 6:43am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/2 "2022-12-10T06:43:25Z")

</div>

Try ‘Reflector’ or ‘Reflector Simple’ which I believe are both installed by default.

---

<div class="post-metadata">

**Author:** ![anthony93](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/anthony93/32/92169_2.png) [@anthony93](https://forum.endeavouros.com/u/anthony93)\
**Post date:** [December 10, 2022, 7:01am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/3 "2022-12-10T07:01:23Z")

</div>

Just run:

```auto
sudo reflector --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/mirrorlist

```

I have an alias set to it just so I don’t have to type out all those options every time I run it.

```bash
alias um25="sudo reflector --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/mirrorlist"

```

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [December 10, 2022, 8:58am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/4 "2022-12-10T08:58:57Z")

</div>

There’s also `rate-mirrors` from EnOS’ repo.

Edit:

> [@handy](#):
>
> msg “Refreshing your pacman database:”  
> sudo pacman -Syy  
> echo  
> msg “Your mirrors & package database are now synchronised.”

I wouldn’t refresh my local database to be in sync with the latest package database available without updating the system at the same time. Failing to do so, it might lead to a partial upgrade situation, if one installs a package and thus heightened risk for breakage.

> When refreshing the package database, **always** do a full upgrade with `pacman -Syu`  
> 👁 [https://wiki.archlinux.org/title/Partial\_upgrade#Partial\_upgrades\_are\_unsupported](https://wiki.archlinux.org/title/Partial_upgrade#Partial_upgrades_are_unsupported)

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [December 10, 2022, 9:38am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/5 "2022-12-10T09:38:19Z")

</div>

> [@handy](#):
>
> sudo pacman -Syy

Just a obligatory warning, this will cause partial update problems if you install a package without updating first.

Of course, you’re [a 2005 Linux veteran, way smarter than any of us here,](https://forum.endeavouros.com/t/changing-root-fonts-size-in-xed-text-editor/34669/8) I’m just pointing it out for anyone else who might be foolish enough to use your script without understanding what it does.

The way idiots like me do it:

```auto
rate-mirrors --protocol=https arch | sudo tee /etc/pacman.d/mirrorlist
sudo pacman -Syyu

```

---

<div class="post-metadata">

**Author:** ![handy](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/handy/32/68965_2.png) [@handy](https://forum.endeavouros.com/u/handy)\
**Post date:** [December 10, 2022, 11:49am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/6 "2022-12-10T11:49:28Z")

</div>

Glad I asked here, you have all given me plenty to go on with.

Re. the script, that was just part of a thing that had 6 options using a variety of combinations of commands/tools.

I am so far away from being an Arch user, or any of the Arch based systems that I used after-woods that I really can’t remember that much about it. (My memory is/has also deteriorated with age I’m sorry to say.) So I’m very grateful for any good advice that comes my way as I bumble about. 😉

I must say that running MX since 2018 was a very easy way to go. BUT it has caused me to loose a lot of Linux skills 'cause I just didn’t need to refresh them.

---

<div class="post-metadata">

**Author:** ![HMS\_Endeavour](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/h/9d8465/32.png) [@HMS\_Endeavour](https://forum.endeavouros.com/u/HMS_Endeavour)\
**Post date:** [December 10, 2022, 12:13pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/7 "2022-12-10T12:13:04Z")

</div>

> [@handy](#):
>
> Are there any tools for checking on mirror speed & if they are up to date?

Yes there are. milcheck tells me when it’s time to do a reflector.

> [@Milcheck → a small binary that displays the status of your pacman mirrorlist in your terminal](https://forum.endeavouros.com/t/milcheck-a-small-binary-that-displays-the-status-of-your-pacman-mirrorlist-in-your-terminal/2439):
>
> All the info here: [https://github.com/doums/milcheck](https://github.com/doums/milcheck) and also already in AUR: $ yay milcheck 1 aur/milcheck 0.1.7-1 (+0 0.00%) A small binary that displays the status of your pacman mirrorlist in your terminal, written in Rust ... [milcheck] I see it interesting to include in EOS …

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [December 10, 2022, 11:55pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/8 "2022-12-10T23:55:49Z")

</div>

> [@handy](#):
>
> I must say that running MX since 2018 was a very easy way to go. BUT it has caused me to loose a lot of Linux skills 'cause I just didn’t need to refresh them.

that’s a point indeed…

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [December 11, 2022, 2:04am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/9 "2022-12-11T02:04:29Z")

</div>

> [@A Complete Idiot's Guide To Endeavour OS Maintenance / Update / Upgrade](https://forum.endeavouros.com/t/a-complete-idiots-guide-to-endeavour-os-maintenance-update-upgrade/25184):
>
> I’m a complete idiot - so here’s my guide for you! It has been asked a lot, and fairly frequently recently it seems, especially by new Endeavour/new to Linux users. It was recently asked that I post how I update - so here it is. “How do I maintain / update / upgrade my system?!? Help!!” This is my maintenance plan. I have been using the same install for almost 2 years now without any major issue. I’m VERY aware there’s more than one way to do this. And most importantly - Many of these c…

---

<div class="post-metadata">

**Author:** ![handy](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/handy/32/68965_2.png) [@handy](https://forum.endeavouros.com/u/handy)\
**Post date:** [December 11, 2022, 1:14pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/10 "2022-12-11T13:14:28Z")

</div>

I just been looking at reflector & milcheck.

My systems automatically start a VPN after opening their respective DE/WM. I expect that the reflector run on boot systemd setting will likely run before my VPN has gone through its start process.

I could use the reflector.time & have it run once a week at a specified time or whatever, though I think I’m liking your command string way @anthony93 . I’ll make a ~/.bashrc alias similar to what you have done. & I’ll also put it in my currently being revised/simplified “Allservers” script.

milcheck is great quick test. I’m sure its very popular too, so my thanks to you too @HMS_Endeavour . 😉

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [December 12, 2022, 7:52am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/11 "2022-12-12T07:52:54Z")

</div>

> [@handy](#):
>
> have it run once a week

Why?

---

<div class="post-metadata">

**Author:** ![HMS\_Endeavour](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/h/9d8465/32.png) [@HMS\_Endeavour](https://forum.endeavouros.com/u/HMS_Endeavour)\
**Post date:** [December 12, 2022, 9:31am UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/12 "2022-12-12T09:31:39Z")

</div>

> [@handy](#):
>
> milcheck is great quick test. I’m sure its very popular too, so my thanks to you too @HMS_Endeavour . 😉

Given our poor bandwidth, this is a must-have. Glad it helped.

---

<div class="post-metadata">

**Author:** ![handy](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/handy/32/68965_2.png) [@handy](https://forum.endeavouros.com/u/handy)\
**Post date:** [December 12, 2022, 8:48pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/13 "2022-12-12T20:48:57Z")

</div>

I’ve put milcheck & reflector into my modified bash script. I’ll post it on the forum for anyone who is interested, as some of us find that sort of thing fun. 🙂

If nothing else, it supplies a good menu system that someone who is into that sort of thing can use for whatever suits them. As it is really quite easily edited.

I won’t do it now as my EOS went down with a kernel panic that I haven’t been able to resolve (& I’m trying not to have to reinstall after spending a couple of days customising).

I couldn’t be bothered getting the script file off of that machine & posting from the rpi4 that I’m typing on at the mo’. 🙂

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [December 12, 2022, 9:17pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/14 "2022-12-12T21:17:47Z")

</div>

> [@handy](#):
>
> it supplies a good menu system that someone who is into that sort of thing can use for whatever suits them. As it is really quite easily edited.

You might want to check out my relevant [script/utility](https://gitlab.com/petsam/safesync), and I guess you may like it. ☺

---

<div class="post-metadata">

**Author:** ![anthony93](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/anthony93/32/92169_2.png) [@anthony93](https://forum.endeavouros.com/u/anthony93)\
**Post date:** [December 12, 2022, 9:59pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/15 "2022-12-12T21:59:29Z")

</div>

This is nice.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [December 14, 2022, 10:00pm UTC](https://forum.endeavouros.com/t/is-there-a-tool-like-pacmanmirrors-g-from-the-manjaro-for-evaluating-mirrors/34697/16 "2022-12-14T22:00:06Z")

</div>

Closed on December 14, 2022, 10:00pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
