No mirrors/ No active or running mirrors!

I'm not getting any active mirrors or speed mirrors(literally of any speed >0).
I got this issue in installed os on my system nor i am able to get it in live os :frowning:
I actually searched for other similar issues in the forum, but may be i couldn't get accurate, some said adding worldwide or other countries fixed,
But actually the problem for me is i am getting mirrors but all are 0kbps

So, now the major problem i am getting in is for updating my os and for doing any work that involves terminal to connect through mirrors :((
image
I faced this same issue in my previous installs too, but reinstallations fixed and now repeating again, but in previous installs i had other issues too which i couldn't offer time to debug, but now i gotta clear this out, btw thanks for any solutions offered below :slight_smile:

and here is my inxi -Fxxxz, if needed:)

Try

upd

in terminal.

 upd
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2021-03-01 14:14:20 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2021-03-01 14:14:13 UTC
# Last Check: 2021-03-01 13:04:53 UTC

Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
:: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra                                                           1646,9 KiB  3,17 MiB/s 00:01 [-------------------------------------------------------] 100%
 community                                                          5,4 MiB  3,05 MiB/s 00:02 [-------------------------------------------------------] 100%
 multilib ist aktuell
 chaotic-aur                                                      885,8 KiB  1431 KiB/s 00:01 [-------------------------------------------------------] 100%
:: Starte vollständige Systemaktualisierung...
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...

Pakete (3) freetube-git-0.10.0.beta.r243.g522b433-1  python-systemd-234-8  starship-git-0.50.0.1418.g4bcc6ba9-1

Gesamtgröße des Downloads:            31,18 MiB
Gesamtgröße der installierten Pakete:  124,47 MiB
Größendifferenz der Aktualisierung:    0,43 MiB

:: Installation fortsetzen? [J/n] 

I do this yust know

[2021-03-01 19:47:25] WARNING: failed to rate http(s) download (https://arch.mirror.square-r00t.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:47:38] WARNING: failed to rate http(s) download (https://mirror.telepoint.bg/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:47:46] WARNING: failed to rate http(s) download (https://archlinux.mailtunnel.eu/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:47:59] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:48:07] WARNING: failed to rate http(s) download (https://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2021-03-01 14:18:07 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2021-03-01 14:17:17 UTC
# Last Check: 2021-03-01 13:04:53 UTC

Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to update chaotic-aur (unable to lock database)
error: failed to update blackarch (unable to lock database)
error: failed to synchronize all databases

unlock db

alias fixpacman="sudo rm /var/lib/pacman/db.lck"
3 Likes

got this again

╰─λ alias fixpacman="sudo rm /var/lib/pacman/db.lck"

╰─λ upd
[sudo] password for alex:
[2021-03-01 19:50:34] WARNING: failed to rate http(s) download (https://arch.mirror.square-r00t.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:50:40] WARNING: failed to rate http(s) download (https://mirror.telepoint.bg/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:50:47] WARNING: failed to rate http(s) download (https://archlinux.mailtunnel.eu/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:50:53] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-03-01 19:50:59] WARNING: failed to rate http(s) download (https://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2021-03-01 14:20:59 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2021-03-01 14:17:17 UTC
# Last Check: 2021-03-01 13:04:53 UTC

Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to update chaotic-aur (unable to lock database)
error: failed to update blackarch (unable to lock database)
error: failed to synchronize all databases

also same for -Syu

sorry, use

fixpacman

or

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

Its working, thank you so for both solution n faster response :slightly_smiling_face: :+1:

4 Likes

but anyways, if i run reflector simple and search for us/canada/sweden/switzerland/uk or some any other country, it still shows me 0kbps

and when i gave only one as worldwide some showed up with speed and output gave only one mirror.
but i can't understand why all other mirrors are @ 0kbps, and as i saved those 0kbps it gave me same error of "unable to lock database" which solved after executing "upd"...

I can't post more after reflector is finished I have no output from cache.

 [2021-03-02 19:26:44] INFO: rating 29 mirror(s) by download speed
 [2021-03-02 19:26:44] INFO: Server                                                      Rate       Time
 [2021-03-02 19:26:46] INFO: https://mirror.selfnet.de/archlinux/               3920.14 KiB/s     1.42 s
 [2021-03-02 19:26:47] INFO: https://ftp.halifax.rwth-aachen.de/archlinux/      5770.55 KiB/s     0.96 s
 [2021-03-02 19:26:48] INFO: https://mirror.fra10.de.leaseweb.net/archlinux/    6428.27 KiB/s     0.86 s
 [2021-03-02 19:26:49] INFO: https://mirrors.n-ix.net/archlinux/                3603.43 KiB/s     1.54 s
 [2021-03-02 19:26:51] INFO: https://mirror.netcologne.de/archlinux/            3943.76 KiB/s     1.41 s

First unlock db.
Then use reflector or be happy with upd.

1 Like

first of all thank you so much for such caring/ active response with solutions :slight_smile:

by the way, just for confirmation, this is the one to unlock i think..!
and i would be glad if i can know why it happens so?(may b i can reduce it)

Because only one package management work can be done at one time. There is no "simultaneous" usage of package manager(s), lest everything should break.

So, to ensure no breakage, lock system are generally used in most Linux distributions.

3 Likes

okay thankyou:)

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