Network error whenever I try to build mirror list

sudo pacman-mirrors -c all
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  ..... Australia      : http://manjaro.melbourneitmirror.net/

::ERROR Not Found 'http://manjaro.melbourneitmirror.net/'

  ..... Australia      : http://manjaro.mirror.serversaustralia.com.au/

::ERROR Not Found 'http://manjaro.mirror.serversaustralia.com.au/'

  ..... Austria        : http://mirror.inode.at/manjaro/

::ERROR Not Found 'http://mirror.inode.at/manjaro/'

  ..... Austria        : http://mirror.easyname.at/manjaro/

::ERROR Not Found 'http://mirror.easyname.at/manjaro/'

  ..... Austria        : ftp://mirror.easyname.at/manjaro/

::ERROR ftp error: error_perm('550 manjaro/x32-stable/core/i686: No such file or directory') 'ftp://mirror.easyname.at/manjaro/'

  ..... Bangladesh     : http://mirror.xeonbd.com/manjaro/

::ERROR Not Found 'http://mirror.xeonbd.com/manjaro/'

  ..... Belarus        : http://mirror.datacenter.by/pub/mirrors/manjaro/

::ERROR Not Found 'http://mirror.datacenter.by/pub/mirrors/manjaro/'

  ..... Belgium        : https://mirror.futureweb.be/manjaro/

::ERROR Not Found 'https://mirror.futureweb.be/manjaro/'

  ..... Belgium        : http://mirror.futureweb.be/manjaro/

::ERROR Not Found 'http://mirror.futureweb.be/manjaro/'

  ..... Brazil         : https://manjaro.c3sl.ufpr.br/

::ERROR Not Found 'https://manjaro.c3sl.ufpr.br/'

  ..... Brazil         : http://linorg.usp.br/manjaro/

::ERROR Not Found 'http://linorg.usp.br/manjaro/'

  ..... Brazil         : https://www.caco.ic.unicamp.br/manjaro/

::ERROR Not Found 'https://www.caco.ic.unicamp.br/manjaro/'

  ..... Bulgaria       : https://mirrors.netix.net/manjaro/

::ERROR Not Found 'https://mirrors.netix.net/manjaro/'

  ..... Bulgaria       : https://manjaro.ipacct.com/manjaro/

::ERROR Not Found 'https://manjaro.ipacct.com/manjaro/'

  ..... Bulgaria       : http://manjaro.telecoms.bg/

::ERROR Not Found 'http://manjaro.telecoms.bg/'

  ..... Canada         : https://mirror.csclub.uwaterloo.ca/manjaro/

::ERROR Not Found 'https://mirror.csclub.uwaterloo.ca/manjaro/'

  ..... Canada         : https://osmirror.org/manjaro/

::ERROR Not Found 'https://osmirror.org/manjaro/'

  ..... Chile          : http://manjaro.dcc.uchile.cl/

::ERROR Not Found 'http://manjaro.dcc.uchile.cl/'

  ..... Chile          : https://mirror.ufro.cl/manjaro/

::ERROR Not Found 'https://mirror.ufro.cl/manjaro/'

  ..... China          : https://mirrors.ustc.edu.cn/manjaro/

::ERROR Not Found 'https://mirrors.ustc.edu.cn/manjaro/'

  ..... China          : https://mirrors.tuna.tsinghua.edu.cn/manjaro/

::ERROR Not Found 'https://mirrors.tuna.tsinghua.edu.cn/manjaro/'

  ..... China          : https://mirrors.sjtug.sjtu.edu.cn/manjaro/

::ERROR Not Found 'https://mirrors.sjtug.sjtu.edu.cn/manjaro/'

  ..... Costa_Rica     : https://mirrors.ucr.ac.cr/manjaro/

::ERROR Not Found 'https://mirrors.ucr.ac.cr/manjaro/'

  ..... Czech          : https://mirror.dkm.cz/manjaro/

::ERROR Not Found 'https://mirror.dkm.cz/manjaro/'

  ..... Denmark        : https://mirrors.dotsrc.org/manjaro/

::ERROR Not Found 'https://mirrors.dotsrc.org/manjaro/'

  ..... Denmark        : https://www.uex.dk/public/manjaro/

::ERROR Not Found 'https://www.uex.dk/public/manjaro/'

  ..... France         : https://mirror.oldsql.cc/manjaro/

::ERROR Not Found 'https://mirror.oldsql.cc/manjaro/'

  ..... France         : https://manjaro.mcofficer.me/

::ERROR Not Found 'https://manjaro.mcofficer.me/'

  ..... France         : https://manjaro.ynh.ovh/

::ERROR Not Found 'https://manjaro.ynh.ovh/'

  ..... France         : http://ftp.free.org/mirrors/repo.manjaro.org/repos/

::ERROR Not Found 'http://ftp.free.org/mirrors/repo.manjaro.org/repos/'

  ..... France         : ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/'

  ..... France         : http://kibo.remi.lu/

::ERROR Not Found 'http://kibo.remi.lu/'

  ..... France         : https://meauzoone.fr/mirror/manjaro/

::ERROR Not Found 'https://meauzoone.fr/mirror/manjaro/'

  ..... France         : http://meauzoone.fr/mirror/manjaro/

::ERROR Not Found 'http://meauzoone.fr/mirror/manjaro/'

  ..... Georgia        : https://manjaro.grena.ge/

::ERROR Not Found 'https://manjaro.grena.ge/'

  ..... Georgia        : http://manjaro.grena.ge/

::ERROR Not Found 'http://manjaro.grena.ge/'

  ..... Germany        : https://mirror.alpix.eu/manjaro/

::ERROR Not Found 'https://mirror.alpix.eu/manjaro/'

  ..... Germany        : https://mirror.23media.com/manjaro/

::ERROR Not Found 'https://mirror.23media.com/manjaro/'

  ..... Germany        : http://mirror.23media.com/manjaro/

::ERROR Not Found 'http://mirror.23media.com/manjaro/'

  ..... Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/

::ERROR Not Found 'https://ftp.halifax.rwth-aachen.de/manjaro/'

  ..... Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.halifax.rwth-aachen.de/manjaro/'

  ..... Germany        : http://ftp.tu-chemnitz.de/pub/linux/manjaro/

::ERROR Not Found 'http://ftp.tu-chemnitz.de/pub/linux/manjaro/'

  ..... Germany        : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/'

  ..... Germany        : https://mirror.netzspielplatz.de/manjaro/packages/

::ERROR Not Found 'https://mirror.netzspielplatz.de/manjaro/packages/'

  ..... Germany        : https://mirror.netcologne.de/manjaro/

::ERROR Not Found 'https://mirror.netcologne.de/manjaro/'

  ..... Germany        : https://manjaro.moson.eu/

::ERROR Not Found 'https://manjaro.moson.eu/'

  ..... Germany        : http://manjaro.moson.eu/

::ERROR Not Found 'http://manjaro.moson.eu/'

  ..... Germany        : https://manjaro.moson.org/

::ERROR Not Found 'https://manjaro.moson.org/'

  ..... Germany        : http://manjaro.moson.org/

::ERROR Not Found 'http://manjaro.moson.org/'

  ..... Greece         : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/

::ERROR Not Found 'https://ftp.cc.uoc.gr/mirrors/linux/manjaro/'

  ..... Greece         : http://ftp.cc.uoc.gr/mirrors/linux/manjaro/

::ERROR Not Found 'http://ftp.cc.uoc.gr/mirrors/linux/manjaro/'

  ..... Greece         : ftp://ftp.cc.uoc.gr/mirrors/linux/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.cc.uoc.gr/mirrors/linux/manjaro/'

  ..... Hong_Kong      : http://ftp.cuhk.edu.hk/pub/Linux/manjaro/

::ERROR Not Found 'http://ftp.cuhk.edu.hk/pub/Linux/manjaro/'

  ..... Hong_Kong      : ftp://ftp.cuhk.edu.hk/pub/Linux/manjaro/

::ERROR ftp error: error_perm('550 pub/Linux/manjaro/x32-stable/core/i686: No such file or directory') 'ftp://ftp.cuhk.edu.hk/pub/Linux/manjaro/'

  ..... Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/

::ERROR Not Found 'https://quantum-mirror.hu/mirrors/pub/manjaro/'

  ..... Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/

::ERROR Not Found 'http://quantum-mirror.hu/mirrors/pub/manjaro/'

  ..... Hungary        : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/

::ERROR Not Found 'https://nova.quantum-mirror.hu/mirrors/pub/manjaro/'

  ..... Hungary        : http://nova.quantum-mirror.hu/mirrors/pub/manjaro/

::ERROR Not Found 'http://nova.quantum-mirror.hu/mirrors/pub/manjaro/'

  ..... Iceland        : https://mirrors.opensource.is/manjaro/

::ERROR Not Found 'https://mirrors.opensource.is/manjaro/'

  ..... Iceland        : http://mirrors.opensource.is/manjaro/

::ERROR Not Found 'http://mirrors.opensource.is/manjaro/'

  ..... Iceland        : ftp://mirrors.opensource.is/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.opensource.is/manjaro/'

  ..... India          : https://mirrors.piconets.webwerks.in/manjaro-mirror/

::ERROR Not Found 'https://mirrors.piconets.webwerks.in/manjaro-mirror/'

  ..... India          : http://mirrors.piconets.webwerks.in/manjaro-mirror/

::ERROR Not Found 'http://mirrors.piconets.webwerks.in/manjaro-mirror/'

  ..... Indonesia      : https://mirror.deace.id/manjaro/

::ERROR Not Found 'https://mirror.deace.id/manjaro/'

  ..... Indonesia      : http://mirror.deace.id/manjaro/

::ERROR Not Found 'http://mirror.deace.id/manjaro/'

  ..... Indonesia      : http://kartolo.sby.datautama.net.id/manjaro/

::ERROR Not Found 'http://kartolo.sby.datautama.net.id/manjaro/'

  ..... Italy          : https://manjaro.mirror.garr.it/mirrors/manjaro/

::ERROR Not Found 'https://manjaro.mirror.garr.it/mirrors/manjaro/'

  ..... Italy          : https://ba.mirror.garr.it/mirrors/manjaro/

::ERROR Not Found 'https://ba.mirror.garr.it/mirrors/manjaro/'

  ..... Italy          : https://ct.mirror.garr.it/mirrors/manjaro/

::ERROR Not Found 'https://ct.mirror.garr.it/mirrors/manjaro/'

  ..... Japan          : http://ftp.riken.jp/Linux/manjaro/

::ERROR Not Found 'http://ftp.riken.jp/Linux/manjaro/'

  ..... Japan          : ftp://ftp.riken.jp/Linux/manjaro/

::ERROR ftp error: error_perm('550 Linux/manjaro/x32-stable/core/i686: No such file or directory') 'ftp://ftp.riken.jp/Linux/manjaro/'

  ..... Japan          : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/

::ERROR Not Found 'http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/'

  ..... Kenya          : https://manjaro.mirror.liquidtelecom.com/

::ERROR Not Found 'https://manjaro.mirror.liquidtelecom.com/'

  ..... Kenya          : http://manjaro.mirror.liquidtelecom.com/

::ERROR Not Found 'http://manjaro.mirror.liquidtelecom.com/'

  ..... Netherlands    : https://manjaro.mirrors.lavatech.top/

::ERROR Not Found 'https://manjaro.mirrors.lavatech.top/'

  ..... Netherlands    : http://manjaro.mirrors.lavatech.top/

::ERROR Not Found 'http://manjaro.mirrors.lavatech.top/'

  ..... Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/

::ERROR Not Found 'https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/'

  ..... Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/'

  ..... Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/

::ERROR Not Found 'http://ftp.snt.utwente.nl/pub/linux/manjaro/'

  ..... Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.snt.utwente.nl/pub/linux/manjaro/'

  ..... Netherlands    : https://mirror.koddos.net/manjaro/

::ERROR Not Found 'https://mirror.koddos.net/manjaro/'

  ..... New_Zealand    : http://manjaro.mirrors.theom.nz/

::ERROR Not Found 'http://manjaro.mirrors.theom.nz/'

  ..... Norway         : http://mirror.terrahost.no/linux/manjaro/

::ERROR Not Found 'http://mirror.terrahost.no/linux/manjaro/'

  ..... Philippines    : http://mirror.rise.ph/manjaro/

::ERROR Not Found 'http://mirror.rise.ph/manjaro/'

  ..... Philippines    : ftp://mirror.rise.ph/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirror.rise.ph/manjaro/'

  ..... Poland         : https://mirror.tuchola-dc.pl/manjaro/

::ERROR Not Found 'https://mirror.tuchola-dc.pl/manjaro/'

  ..... Poland         : http://ftp.vectranet.pl/manjaro/

::ERROR Not Found 'http://ftp.vectranet.pl/manjaro/'

  ..... Poland         : ftp://ftp.vectranet.pl/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.vectranet.pl/manjaro/'

  ..... Poland         : https://pl.mirrors.fossho.st/manjaro/

::ERROR Not Found 'https://pl.mirrors.fossho.st/manjaro/'

  ..... Poland         : http://pl.mirrors.fossho.st/manjaro/

::ERROR Not Found 'http://pl.mirrors.fossho.st/manjaro/'

  ..... Portugal       : http://ftp.dei.uc.pt/pub/linux/manjaro/

::ERROR Not Found 'http://ftp.dei.uc.pt/pub/linux/manjaro/'

  ..... Russia         : https://mirror.yandex.ru/mirrors/manjaro/

::ERROR Not Found 'https://mirror.yandex.ru/mirrors/manjaro/'

  ..... Russia         : http://mirror.truenetwork.ru/manjaro/

::ERROR Not Found 'http://mirror.truenetwork.ru/manjaro/'

  ..... Singapore      : https://download.nus.edu.sg/mirror/manjaro/

::ERROR Not Found 'https://download.nus.edu.sg/mirror/manjaro/'

  ..... South_Africa   : http://mirror.is.co.za/mirrors/manjaro.org/

::ERROR Not Found 'http://mirror.is.co.za/mirrors/manjaro.org/'

  ..... South_Korea    : https://mirror.d-tl.com/manjaro/

::ERROR Not Found 'https://mirror.d-tl.com/manjaro/'

  ..... Spain          : https://ftp.caliu.cat/pub/distribucions/manjaro/

::ERROR Not Found 'https://ftp.caliu.cat/pub/distribucions/manjaro/'

  ..... Spain          : http://ftp.caliu.cat/pub/distribucions/manjaro/

::ERROR Not Found 'http://ftp.caliu.cat/pub/distribucions/manjaro/'

  ..... Sweden         : https://ftp.lysator.liu.se/pub/manjaro/

::ERROR Not Found 'https://ftp.lysator.liu.se/pub/manjaro/'

  ..... Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.lysator.liu.se/pub/manjaro/'

  ..... Sweden         : https://mirror.zetup.net/manjaro/

::ERROR Not Found 'https://mirror.zetup.net/manjaro/'

  ..... Switzerland    : https://manjaro.osmir.ch/

::ERROR Not Found 'https://manjaro.osmir.ch/'

  ..... Switzerland    : http://manjaro.osmir.ch/

::ERROR Not Found 'http://manjaro.osmir.ch/'

  ..... Taiwan         : http://free.nchc.org.tw/manjaro/

::ERROR Not Found 'http://free.nchc.org.tw/manjaro/'

  ..... Thailand       : https://mirror.kku.ac.th/manjaro/

::ERROR Not Found 'https://mirror.kku.ac.th/manjaro/'

  ..... Thailand       : http://mirror.kku.ac.th/manjaro/

::ERROR Not Found 'http://mirror.kku.ac.th/manjaro/'

  ..... Thailand       : ftp://mirror.kku.ac.th/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirror.kku.ac.th/manjaro/'

  ..... Turkey         : http://ftp.linux.org.tr/manjaro/

::ERROR Not Found 'http://ftp.linux.org.tr/manjaro/'

  ..... Turkey         : ftp://ftp.linux.org.tr/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://ftp.linux.org.tr/manjaro/'

  ..... Ukraine        : http://mirrors.colocall.net/manjaro/

::ERROR Not Found 'http://mirrors.colocall.net/manjaro/'

  ..... Ukraine        : ftp://mirrors.colocall.net/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.colocall.net/manjaro/'

  ..... United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/re

::ERROR Not Found 'https://www.mirrorservice.org/sites/repo.manjaro.org/repos/'

  ..... United_Kingdom : http://manjaro.mirrors.uk2.net/

::ERROR Not Found 'http://manjaro.mirrors.uk2.net/'

  ..... United_Kingdom : https://uk.mirrors.fossho.st/manjaro/

::ERROR Not Found 'https://uk.mirrors.fossho.st/manjaro/'

  ..... United_Kingdom : http://uk.mirrors.fossho.st/manjaro/

::ERROR Not Found 'http://uk.mirrors.fossho.st/manjaro/'

  ..... United_States  : https://repo.ialab.dsu.edu/manjaro/

::ERROR Not Found 'https://repo.ialab.dsu.edu/manjaro/'

  ..... United_States  : http://repo.ialab.dsu.edu/manjaro/

::ERROR Not Found 'http://repo.ialab.dsu.edu/manjaro/'

  ..... United_States  : http://distro.ibiblio.org/manjaro/

::ERROR Not Found 'http://distro.ibiblio.org/manjaro/'

  ..... United_States  : https://mirrors.ocf.berkeley.edu/manjaro/

::ERROR Not Found 'https://mirrors.ocf.berkeley.edu/manjaro/'

  ..... United_States  : https://mirror.math.princeton.edu/pub/manjaro/

::ERROR Not Found 'https://mirror.math.princeton.edu/pub/manjaro/'

  ..... United_States  : https://mirror.clarkson.edu/manjaro/

::ERROR Not Found 'https://mirror.clarkson.edu/manjaro/'

  ..... United_States  : https://mirror.dacentec.com/manjaro/

::ERROR Not Found 'https://mirror.dacentec.com/manjaro/'

  ..... United_States  : https://mirrors.gigenet.com/manjaro/

::ERROR Not Found 'https://mirrors.gigenet.com/manjaro/'

  ..... United_States  : http://mirrors.gigenet.com/manjaro/

::ERROR Not Found 'http://mirrors.gigenet.com/manjaro/'

  ..... United_States  : https://us.mirrors.fossho.st/manjaro/

::ERROR Not Found 'https://us.mirrors.fossho.st/manjaro/'

  ..... United_States  : http://us.mirrors.fossho.st/manjaro/

::ERROR Not Found 'http://us.mirrors.fossho.st/manjaro/'

::WARNING No mirrors in selection
::INFO The mirrors has not changed

also, when trying to update using the GUI package manager i get this

failed retrieving file 'community.db' from manjaro.c3sl.ufpr.br : The requested URL returned error: 404 Not Found

You don't have internet connection.

This could be for numerous reasons ...

I definitely have an internet connection as im using it to type this

Still - the message indicates a problem with your network connection...

So how do i go about fixing this? I have no prior experience in Linux at all.

disable any vpn in use and try again

I do not have any VPNin use.

Something is wrong on your system - I have no idea what.

Just to prove it works...

➜  ~ sudo pacman-mirrors -c all
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  ..... Australia      : http://manjaro.melbourneitmirror.net/
  ..... Australia      : http://manjaro.mirror.serversaustralia.com.au/
  0.157 Austria        : http://mirror.easyname.at/manjaro/
  0.377 Austria        : ftp://mirror.easyname.at/manjaro/
...
  0.182 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
  0.142 United_Kingdom : http://manjaro.mirrors.uk2.net/
  0.789 United_States  : https://repo.ialab.dsu.edu/manjaro/
  0.685 United_States  : http://repo.ialab.dsu.edu/manjaro/
  0.887 United_States  : http://distro.ibiblio.org/manjaro/
  1.628 United_States  : https://mirrors.ocf.berkeley.edu/manjaro/
  0.880 United_States  : https://mirror.math.princeton.edu/pub/manjaro/
  0.797 United_States  : https://mirror.dacentec.com/manjaro/
::INFO Writing mirror list
...
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist

So how can i narrow down what is wrong?

I have no idea - if you - as you state - have an internet connection - then pacman-mirrors also have an internet connection.

BUT - a big but - some browsers can be/are maybe configured to use their own DNS resolver - DNS over over https - so it is technically possible that your browser is online but your system is not.

Try the usual tools - nslookup, dig, host, traceroute.

i have no idea what those are. what one should i be using and what am i looking for?

Before continuing troubleshooting - it could be temporary - so reboot your system for good measure - and while you are at it - reboot your router as well.

nslooup will give you an idea of the state of the name server lookup

The Server: and Address: will be different for your system.

If DNS is working as it should you should get the same IP address for manjaro.org

➜  ~ nslookup manjaro.org
Server:		192.168.10.4
Address:	192.168.10.4#53

Non-authoritative answer:
Name:	manjaro.org
Address: 176.9.38.148

I type
~ nslookup manjaro.org

and get
bash: /home/user: Is a directory

A classic example of a xy problem

I won't even try to guess what have been done because I can't help you.

The path of least resistance

  • Revert every single change you have made to the system
    • until you get back to a working state.
    • Great learning experience :grin:
  • Reinstall your system.

backup1

&

reinstall2

:rainbow:

How doi revert everythimg?

:previous_track_button:

It's just nslookup without ~
The ~ was not part of the command of @linux-aarhus it's his zsh prompt

That's a great question only you can answer unfortunately.

I'd save everything on my system and reinstall Manjaro.

Forum kindly sponsored by