No Mirror List, not able to change mirror list country.πŸ˜”

I tried this in terminal to change mirror server

sudo reflector --country Canada --latest 15 --age 2 --fastest 20 --protocol https --sort rate --save /etc
/pacman.d/mirrorlist

Failed with

WARNING: failed to rate http(s) download (https://mirror.sergal.org/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).

I tried changing it in reflector_simple but it doesn't change anything, still in india. same error.
I waited for it to complete the same error appears

and finally
Screenshot_Error_1

Help me

Hi there, welcome to the forums.

You have to wait for a while in terminal.

1 Like

I waited for it to complete. have a look

and finally it showed
Screenshot_Error_1

Post

inxi -Fxxxza && ping 8.8.8.8 -c5

As text

2 Likes

try another mirror

Are you able to sudo pacman -Syu ?
I'm asking this only to check if there is an underlying DB lock to be removed.
Or directly run

sudo rm /var/lib/pacman/db.lck

It won't hurt anyway...

2 Likes

A warning will not prevent the command from succeeding.

You’re adding several filters that narrow the choices. Try a wider filter, e.g.

sudo reflector --latest 10 --score 10 --protocol https --save /etc/pacman.d/mirrorlist
3 Likes

I can able to do system update

I did it it popups the server list, then I clicked to save in mirrorlist but it doesnt change the server, still in India.

That doesn't sound like you ran the command I posted.

What's the output of

reflector --latest 10 --score 10 --protocol https

?

2 Likes
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 10 --score 10 --protocol https
# When:       2021-06-01 09:25:11 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2021-06-01 09:24:56 UTC
# Last Check: 2021-06-01 09:15:52 UTC

Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://mirror.sergal.org/archlinux/$repo/os/$arch
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.selfnet.de/archlinux/$repo/os/$arch
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch

And what happens if you use that as your /etc/pacman.d/mirrorlist ?

1 Like

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