Pamac shows only "Global" mirrors

New machine, using manjaro gnome testing is only operating system.
Problem ONLY on this machine, all three others working “normal”.
.
Pamac (both versions): ..
Settings: use mirrors “Worldwide”
Change to “Germany” and let update mirrors.
Then all german mirrors are listed. So far, so good.
.
If I do sudo pacman-mirrors -id the requester shows 4 Global entries only!

(I didnot choose any “Global”)
Whilesudo pacman.mirrors shows all german mirrors
–and /etc/pacman.d/mirrorlist lists all german mirrors.
If I restart Pamac, mirror settings have reverted to “Woldwide”.
Any hints?

I recently discovered that a bug has sneaked into the pacman-mirrors code.

I have also located where it lives.

It does affect the mirrorlist generation the following way

All reset functions will only return Global mirrors.

I am in the process of checking that no other bugs has infected the code.

5 Likes

I switched to the “Global” mirrors 2 or 3 years ago & have found them to be much more reliable than when I was using “country” or “continent” (Australia only has 2 mirrors, and the continent just 1 more as New Zealand’s sole mirror is added).

Wasn’t there a recommendation back then to switch to the Global mirrors, which are provided by a CDN (content delivery network) with multiple data centres on every continent (apart from Antarctica) & refreshed more frequently than most of the static mirrors?

I know users should always have a choice, but they should also be aware that using the global CDN mirrors is a very good option.

2 Likes

I use Global Mirrors, because I use a VPN, and could be anywhere in the World at any time. So Global Mirrors always grabs the nearest mirror.

5 Likes

My Pamac settings let me choose “Worldwide” or “Global” – I’m afraid is not the same??

After accepting “Global mirrors” using: sudo pacman-mirrors -id

and switching in Pamac mirror settings to “Germany” and reboot:

Pamac mirror settings are “Germany”….

and: sudo pacman-mirrors -id

shows “all” mirrors now! Solved, but ?

They are not the same. “Worldwide” is all of the mirrors (currently 124 of them, according to the Manjaro Repository - Status of mirrors page).

There are only 3 “Global” mirrors shown on that page:

Mirror Country Protocol(s) Last sync (hh:mm) Stable Testing Unstable
mirrors.manjaro.org/repo Global https 00:07 Up to date Up to date Up to date
mirrors2.manjaro.org Global https 00:07 Up to date Up to date Up to date
mirrors.cicku.me/manjaro Global https, http 00:37 Up to date Up to date Up to date
1 Like

Pamac uses pacman-mirrors to generate the mirror pool and subsequently the mirror list.

What you see in Pamac is a single selection.

If you use Germany - then germany mirrors will be used

pacman-mirrors -c de

When you select Global - it’s mirrors which provides the packages through cloudflare or in the case of Manjaro - CDN77.

pacman-mirrors -c Global

When you select Worldwide - it is technically a reset.

pacman-mirrors -c all
pacman-mirrors -id

These reset functions currently return only Global mirrors.

Don’t speculate too much - it is only the reset function that is affected.

And what, if the entry “Worldwide” means “Global” instead of reallly “all” mirrors?

If i select worldwide, pacman-mirrors -id let me choose ONLY “Global mirrors”;

wheras “Global” let pacman-mirrors -id select every mirror “worldwide”.

==> entry “Worldwide” ==> Global mirrors / entry “Global” ==> worldwide mirrors.

Exchange this expression (like in Orwell 1984) and it makes more sense to me :innocent:

It does not.

In pacman-mirrors country list Global is listed as a country, Worldwide is not.

Pamac and pacman-mirrors are two different applications and they share nothing.

The dropdown list in pamac is the output from pacman-mirrors

pacman-mirrors -l

And when you select a country or Global this command is executed

pacman-mirrors -c <selection>

When you choose worldwide - I assume the following command is used

pacman-mirrors -c all

Alternative to the reset is to run with all country names - something similar to this example

pacman-mirrors -c $(pacman-mirrors -l)

2025-12-29T09:01:00Z

pacman-mirrors 5.3 is in unstable and has fixed the reset issue when using -c all

3 Likes

==> solved