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 #wgethttps://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.”
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.
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.
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 .
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’.