Error installing programs (mirrors2 times out)

Hello Dears !
Unfortunately, I have a problem using pamac
I always get the following error while installing the program
Preparing…
Synchronizing package databases…
https://mirrors2.manjaro.org/stable/core/x86_64/core.db: Socket I/O timed out
https://mirror.yandex.ru/mirrors/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
https://mirrors2.manjaro.org/stable/extra/x86_64/extra.db: Socket I/O timed out
https://mirror.yandex.ru/mirrors/manjaro/stable/extra/x86_64/extra.db: Socket I/O timed out
If I use pacman to install the program, the programs are installed without any error!
What is the problem?

Have you tried sorting mirrors?

I believe there are pamac buttons for this, but via pacman it would look like

sudo pacman-mirrors -f && sudo pacman -Syu

The top mirror is a CDN and quite fast … network latency will break everything …

I noticed yesterday there was a high latency on the mirror network … but strangely enough only on my laptop.

I have done this several times, but it didn’t work!

I don’t think it’s from the mirrors, because I updated them several times and used mirrors from other countries, but the result was the same!

Switch that back to mirrors.manjaro.org, mirrors2 was only for a short test.

Hi @xlordx,

Please provide the output of:

pacman-mirrors --status

Hi !!

pacman-mirrors --status                                                                                                                                                            ──(Fri,Dec15)─┘
Local mirror status for stable branch
Mirror #1   OK  04:36   Russia          https://mirror.yandex.ru/mirrors/manjaro/
Mirror #2   OK  04:35   Netherlands     http://ftp.snt.utwente.nl/pub/linux/manjaro/
Mirror #3   OK  01:13   Armenia         http://manjaro.ucom.am/
Mirror #4   OK  03:23   Bulgaria        https://mirror.telepoint.bg/manjaro/
Mirror #5   OK  04:33   Belarus         http://mirror.datacenter.by/pub/mirrors/manjaro/
Mirror #6   OK  05:03   Bulgaria        https://mirrors.netix.net/manjaro/
Mirror #7   OK  04:34   Czechia         https://mirrors.nic.cz/manjaro/
Mirror #8   OK  00:04   Global          https://mirrors.manjaro.org/repo/
Mirror #9   OK  00:07   United_States   https://ask4.mm.fcix.net/manjaro/
Mirror #10  OK  04:35   Italy           https://manjaro.mirror.garr.it/manjaro/
Mirror #11  OK  04:34   Greece          https://fosszone.csd.auth.gr/manjaro/
Mirror #12  OK  05:24   Denmark         https://mirrors.dotsrc.org/manjaro/
Mirror #13  OK  00:23   Austria         https://mirror.easyname.at/manjaro/
Mirror #14  OK  04:56   Poland          https://ftp.icm.edu.pl/pub/Linux/dist/manjaro/
Mirror #15  OK  00:04   Global          https://mirrors2.manjaro.org/
Mirror #16  OK  02:35   Germany         https://mirror.23m.com/manjaro/
Mirror #17  OK  09:47   United_Kingdom  https://mirror.vinehost.net/manjaro/
Mirror #18  OK  10:24   Germany         https://mirror.seahost.de/manjaro/
Mirror #19  OK  02:03   Belgium         https://mirror.futureweb.be/manjaro/
Mirror #20  OK  04:36   Poland          https://ftp.psnc.pl/linux/manjaro/
Mirror #21  OK  03:35   Netherlands     https://manjaro.mirror.wearetriple.com/
Mirror #22  OK  00:14   Germany         https://mirror.alpix.eu/manjaro/
Mirror #23  OK  09:34   Germany         http://ftp.tu-chemnitz.de/pub/linux/manjaro/
Mirror #24  OK  03:34   France          http://ftp.free.org/mirrors/repo.manjaro.org/repos/
Mirror #25  OK  00:07   United_States   https://mnvoip.mm.fcix.net/manjaro/
Mirror #26  OK  01:05   Netherlands     https://manjaro.mirrors.lavatech.top/
Mirror #27  OK  10:36   Portugal        http://ftp.dei.uc.pt/pub/linux/manjaro/
Mirror #28  OK  04:36   Turkey          https://ftp.linux.org.tr/manjaro/
Mirror #29  OK  03:05   Netherlands     https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
Mirror #30  OK  00:07   United_States   https://ohioix.mm.fcix.net/manjaro/
Mirror #31  OK  04:34   Georgia         http://manjaro.grena.ge/
Mirror #32  OK  04:54   Czechia         https://mirror.dkm.cz/manjaro/
Mirror #33  OK  00:07   United_States   https://forksystems.mm.fcix.net/manjaro/
Mirror #34  OK  04:54   Georgia         https://repos.silknet.com/manjaro/
Mirror #35  OK  04:34   Germany         https://ftp.halifax.rwth-aachen.de/manjaro/
Mirror #36  OK  00:26   Russia          https://mirror.truenetwork.ru/manjaro/
Mirror #37  OK  00:57   United_States   https://mirror.math.princeton.edu/pub/manjaro/
Mirror #38  OK  01:45   India           https://mirror.albony.xyz/manjaro/
Mirror #39  OK  00:07   United_States   https://nocix.mm.fcix.net/manjaro/
Mirror #40  OK  00:06   United_Kingdom  http://manjaro.mirrors.uk2.net/
Mirror #41  OK  03:23   Canada          https://mirror.csclub.uwaterloo.ca/manjaro/
Mirror #42  OK  00:56   Sweden          https://ftp.lysator.liu.se/pub/manjaro/
Mirror #43  OK  04:35   Italy           https://ba.mirror.garr.it/mirrors/manjaro/
Mirror #44  OK  00:06   United_States   http://mirror.fcix.net/manjaro/
Mirror #45  OK  01:04   Hungary         https://quantum-mirror.hu/mirrors/pub/manjaro/
Mirror #46  OK  04:33   Austria         https://mirror.alwyzon.net/manjaro/
Mirror #47  OK  00:07   United_States   https://opencolo.mm.fcix.net/manjaro/
Mirror #48  OK  10:54   Estonia         https://mirrors.xtom.ee/manjaro/
Mirror #49  OK  04:54   Germany         https://mirror.netcologne.de/manjaro/
Mirror #50  OK  00:34   France          https://mirror.ibakerserver.pt/manjaro/
Mirror #51  OK  00:07   United_States   https://uvermont.mm.fcix.net/manjaro/
Mirror #52  OK  00:04   Colombia        https://edgeuno-bog2.mm.fcix.net/manjaro/
Mirror #53  OK  07:36   Portugal        https://mirrors.up.pt/pub/manjaro/
Mirror #54  OK  00:25   New_Zealand     http://manjaro.mirrors.theom.nz/manjaro/
Mirror #55  OK  00:07   United_States   https://ziply.mm.fcix.net/manjaro/
Mirror #56  OK  00:07   United_States   https://coresite.mm.fcix.net/manjaro/
Mirror #57  OK  04:36   Spain           https://ftp.caliu.cat/pub/distribucions/manjaro/
Mirror #58  OK  04:34   China           https://mirror.nyist.edu.cn/manjaro/
Mirror #59  OK  00:06   United_States   https://nnenix.mm.fcix.net/manjaro/
Mirror #60  OK  00:14   Finland         https://manjaro.kyberorg.fi/
Mirror #61  OK  01:46   South_Africa    http://manjaro.mirror.ac.za/
Mirror #62  OK  04:35   Mauritius       https://manjarolinux-mirror.cloud.mu/
Mirror #63  OK  02:53   Canada          https://muug.ca/mirror/manjaro/
Mirror #64  OK  00:07   United_States   https://volico.mm.fcix.net/manjaro/
Mirror #65  OK  06:45   Indonesia       http://kartolo.sby.datautama.net.id/manjaro/
Mirror #66  OK  00:26   Switzerland     https://mirror.init7.net/manjaro/
Mirror #67  OK  10:34   China           https://mirrors.ustc.edu.cn/manjaro/
Mirror #68  OK  00:07   United_States   https://codingflyboy.mm.fcix.net/manjaro/
Mirror #69  OK  04:34   China           https://mirrors.jlu.edu.cn/manjaro/
Mirror #70  OK  00:16   Taiwan          https://mirror.archlinux.tw/Manjaro/
Mirror #71  OK  04:34   China           https://mirrors.tuna.tsinghua.edu.cn/manjaro/
Mirror #72  OK  00:03   Australia       https://gsl-syd.mm.fcix.net/manjaro/
Mirror #73  OK  04:35   Italy           https://ct.mirror.garr.it/mirrors/manjaro/
Mirror #74  OK  09:15   Japan           https://mirrors.xtom.jp/manjaro/
Mirror #75  OK  04:04   Costa_Rica      https://mirrors.ucr.ac.cr/manjaro/
Mirror #76  OK  00:46   Russia          https://mirror.kamtv.ru/manjaro/
Mirror #77  OK  00:33   Chile           https://mirror.ufro.cl/manjaro/
Mirror #78  OK  02:03   Canada          https://mirror.xenyth.net/manjaro/
Mirror #79  OK  00:07   United_States   https://southfront.mm.fcix.net/manjaro/
Mirror #80  OK  04:44   Greece          https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
Mirror #81  OK  00:23   Bangladesh      http://mirror.xeonbd.com/manjaro/
Mirror #82  OK  02:03   Brazil          https://mirror.ufam.edu.br/manjaro/
Mirror #83  OK  00:46   South_Korea     https://mirror.funami.tech/manjaro/
Mirror #84  OK  00:33   Bulgaria        https://manjaro.ipacct.com/manjaro/
Mirror #85  OK  00:46   Singapore       https://mirror.freedif.org/Manjaro/
Mirror #86  OK  04:33   Brazil          https://linorg.usp.br/manjaro/
Mirror #87  OK  01:03   Belgium         http://ftp.belnet.be/mirrors/manjaro/repos/
Mirror #88  OK  04:35   Kenya           https://manjaro.mirror.liquidtelecom.com/
Mirror #89  OK  10:33   Australia       https://mirror.aarnet.edu.au/pub/manjaro/
Mirror #90  OK  00:07   United_States   https://ridgewireless.mm.fcix.net/manjaro/
Mirror #91  OK  02:56   Sweden          https://mirror.zetup.net/manjaro/
Mirror #92  OK  00:34   Germany         https://manjaro.kurdy.org/
Mirror #93  OK  00:06   United_States   https://irltoolkit.mm.fcix.net/manjaro/
Mirror #94  OK  00:53   Brazil          https://manjaro.c3sl.ufpr.br/
Mirror #95  OK  00:45   Japan           http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
Mirror #96  OK  03:36   United_Kingdom  https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
Mirror #97  OK  03:06   Sweden          https://ftpmirror1.infania.net/mirror/manjaro/
Mirror #98  OK  04:34   Czechia         https://mirror.it4i.cz/manjaro/
Mirror #99  OK  00:27   Uruguay         https://manjaro.repo.cure.edu.uy/
Mirror #100  OK  00:24   Germany         https://ftp.gwdg.de/pub/linux/manjaro/
Mirror #101  OK  01:14   France          https://manjaro.ynh.ovh/
Mirror #102  OK  10:34   Germany         https://mirrors.xtom.de/manjaro/
Mirror #103  OK  00:45   Japan           https://mirror.phoepsilonix.love/manjaro/
Mirror #104  OK  04:37   United_States   https://mirrors.sonic.net/manjaro/
Mirror #105  OK  00:36   Singapore       http://ossmirror.mycloud.services/os/linux/manjaro/
Mirror #106  OK  03:03   Bangladesh      https://bd.mirror.vanehost.com/Manjaro/
Mirror #107  OK  11:05   Germany         http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/

But the problem is still there!

Preparing…
Synchronizing package databases…
https://mirror.yandex.ru/mirrors/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
https://mirror.yandex.ru/mirrors/manjaro/stable/extra/x86_64/extra.db: Socket I/O timed out
https://mirror.yandex.ru/mirrors/manjaro/stable/multilib/x86_64/multilib.db: Socket I/O timed out

Why TF so you have that many mirrors? I’m guessing some don’t even exist anymore…

Let’s try resetting then to the fastest 5 for you. To do so, run:

sudo pacman-mirrors --fasttrack=5
1 Like

mirrors2 and mirrors is the same CDN network. Just different subdomains pointing tonthe same thing

Ok, now it only lists 5 items, but my problem is still there!
I don’t think the problem is with pacman, because I can install the packages I need correctly through cli, but I have a problem with pamac!
First, the socket timeout error and then the gui is closed!

Preparing…
Synchronizing package databases…
https://mirror.futureweb.be/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
https://ask4.mm.fcix.net/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
https://manjaro.mirrors.lavatech.top/stable/core/x86_64/core.db: Socket I/O timed out
https://ziply.mm.fcix.net/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
https://mirror.2degrees.nz/manjaro/stable/core/x86_64/core.db: Socket I/O timed out
Failed to synchronize databases