[SOLVED] Which Mirrorlist do I use? 15 August 2020, 13:07:04 Hi everyone. I've just installed Artix for the first time and am wanting to run an update to get the most recent versions of all of my installed software. As the mirrorlist is out of date, I'm first trying to update it, but I've found a list (so far) in three different locations:https://gitea.artixlinux.org/artixlinux/packages/src/branch/master/artix-mirrorlist/x86_64/core/mirrorlisthttps://gitea.artixlinux.org/artixlinux/packages/src/branch/master/artix-mirrorlist/trunk/mirrorlisthttps://gitea.artixlinux.org/packagesA/artix-mirrorlist/src/branch/master/trunk/mirrorlistThey all three seem to be the same list, so I'm wondering if one of them is recommended over the others? Last Edit: 16 August 2020, 10:35:54 by SGOrava
Re: Which Mirrorlist do I use? Reply #1 – 15 August 2020, 14:23:30 They all refer to the same package
Re: Which Mirrorlist do I use? Reply #2 – 15 August 2020, 15:38:40 mirrorlist is not outdated, maybe some mirrors can be outdated. Just select a best up-to-date mirror for you... read archlinux wiki about mirror, you will find there more info about rankmirror and how to use.
Re: Which Mirrorlist do I use? Reply #3 – 15 August 2020, 16:00:16 Artix has 2 rankmirrors "scripts"rankmirrors-artix and rankmirrors-archby default renkmirrors is symlink to rankmirrors-artix
Re: Which Mirrorlist do I use? Reply #4 – 15 August 2020, 22:19:10 Thanks everyone for the info! I've got it updated now.alium, I had looked at the 'mirrorlist' file that was originally installed, and in the top description it read:#### Artix Linux repository mirrorlist## Generated on 2020-02-12## In the 'mirrorlist' file online, it said that it was 'Generated on 2020-06-14'I didn't know how many of those from the previous list would still be online or up to date, so I was just wanting to get the most up to date list.SGOrava, thanks for the script-commands that you gave me. Previously when I was using Arch, I had always used the 'Reflector' command, which would automatically update the mirrorlist and THEN rank them; but I didn't know if the 2 scripts would update the lists first, or if they would just rank the mirrors that were currently on my computer. So I used the 'curl' command to get the list from online and then used the 'rankmirrors' command that you gave me.Again, thanks for all of the help! Last Edit: 15 August 2020, 22:56:46 by MOGuy
Re: Which Mirrorlist do I use? Reply #5 – 15 August 2020, 23:40:01 QuoteGenerated on 2020-02-12Yes, that original file from iso, after update your system will update this file too (pacman - Syu).Select best mirror for you is another thing...... good that you solved your problem
Re: Which Mirrorlist do I use? Reply #6 – 15 August 2020, 23:50:43 rankmirrors should be standard Archlinux script.We had to make few changes to fit it into Artix (Our repositories have different names).That is why we have -arch and -artix variant.
Re: Which Mirrorlist do I use? Reply #7 – 16 August 2020, 00:31:08 Thanks alium, I hadn't even thought of that... as I said, I was trying to get the latest mirrorlist BEFORE I ran the 'pacman -Syu' command... classic 'Catch-22' I guess, "Using pacman command to get the latest mirrorlist, but needing the latest mirrorlist to get the quickest download from Pacman". lol Also, you had said "Select best mirror for you is another thing..." Should I go into the 'mirrorlist' file and do that manually myself, or should I let the 'rankmirrors-artix' command do that for me?
Re: Which Mirrorlist do I use? Reply #8 – 16 August 2020, 00:49:24 SGOrava... To get the Arch Repos I installed the 'reflector' command onto my Artix machine, but used:reflector --verbose --country 'United States' -l 20 -f 5 --sort rate --save /etc/pacman.d/mirrorlist-archinstead of saving it as just '/etc/pacman.d/mirrorlist'To get the latest Artix mirrorlist, I used:curl https://gitea.artixlinux.org/packagesA/artix-mirrorlist/raw/branch/master/trunk/mirrorlist -o /etc/pacman.d/mirrorlistIs this correct, saving the Artix mirrorlist as just 'mirrorlist', or should I have saved IT as 'mirrorlist-artix' ? 1 Likes
Re: Which Mirrorlist do I use? Reply #9 – 16 August 2020, 01:40:31 Quotesaving the Artix mirrorlist as just 'mirrorlist', or should I have saved IT as 'mirrorlist-artix' ?Yes, artix mirrorlist is just mirrorlist.If you are not sure check /etc/pacman.conf to see what mirrorlist is used for which repositories.you will see something likefor Artix:Code: [Select][system]Include = /etc/pacman.d/mirrorlistfor ArchCode: [Select][extra]Include = /etc/pacman.d/mirrorlist-arch
Re: Which Mirrorlist do I use? Reply #10 – 16 August 2020, 03:00:09 Thanks SGOrava... you read my mind. That was the next question I had, about how it knew which Repos to search through for a specific package; whether 'Core', 'Extra', 'System', etc.Thanks everyone for all the requested info. Have a great weekend!