Update server down

These are the errors I get today trying to update:

$ pacman-mirrors
Pacman-mirrors version 4.21.5
Local mirror status for stable branch
 Mirror # 1 https://mirror.erickochen.nl/manjaro/ does not exist
Mirror #2   OK  02:21   Switzerland     https://mirror.init7.net/manjaro/
Mirror #3   OK  00:01   United_Kingdom  https://mirror.cyberhost.uk/sites/manjaro/
Mirror #4   OK  00:21   Ukraine         https://fastmirror.pp.ua/manjaro/
Mirror #5   OK  03:40   Germany         https://mirror.23m.com/manjaro/
Mirror #6   OK  02:01   Netherlands     https://mirror.koddos.net/manjaro/
Mirror #7   OK  00:24   United_States   https://repo.ialab.dsu.edu/manjaro/
Mirror #8   OK  00:22   Indonesia       https://mirror.deace.id/manjaro/

Update:

$ pamac update
Preparing...
Checking scrcpy dependencies...
Synchronizing package databases...
https://mirror.erickochen.nl/manjaro/stable/core/x86_64/core.db: Could not connect: Network is unreachable
https://mirror.erickochen.nl/manjaro/stable/extra/x86_64/extra.db: Could not connect: Network is unreachable
https://mirror.erickochen.nl/manjaro/stable/community/x86_64/community.db: Could not connect: Network is unreachable
https://mirror.erickochen.nl/manjaro/stable/multilib/x86_64/multilib.db: Could not connect: Network is unreachable
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  scrcpy  1.20-1  (1.19-1)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N]

Fixed

[kate@manjaro ~]$ pacman-mirrors -f 3
.: ERROR Must have root privileges
[kate@manjaro ~]$ sudo pacman-mirrors -f 3
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: http://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.509 Russia         : https://mirror.yandex.ru/mirrors/manjaro/
  0.430 United_Kingdom : https://mirrors.gethosted.online/manjaro/repos/
  0.291 United_Kingdom : http://mirrors.gethosted.online/manjaro/repos/
  0.512 Germany        : https://ftp.gwdg.de/pub/linux/manjaro/
  0.298 Germany        : http://ftp.gwdg.de/pub/linux/manjaro/
  ..... Germany        : ftp://ftp.gwdg.de/pub/linux/manjaro/
::INFO Writing mirror list
::United_Kingdom  : https://mirrors.gethosted.online/manjaro/repos/stable
::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable
::Germany         : https://ftp.gwdg.de/pub/linux/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist

Thats 3 random mirrors … you may want to use something like

sudo pacman-mirrors -g

Or -f with a larger number or f0 for global ranking.

You also always want to do a refresh after touching mirrors:

sudo pacman -Syyu

Working as well. Shouldn’t the mirrors thing be done automatically without user intervention or have some pacman or pamac flag to request for it? It requires quite a lot of knowledge to just update/upgrade the system, because even as an advanced user myself didn’t expect to must know such thing.

You where just unlucky to b e connected to a mirror that is no longer functional.

The mirrors will be re-ranked every week or so, to catch most of these, but a situation like yours can still happen if it’s in an unlucky time.

Also switched brand from stable to testing.

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