You are not logged in.

#26 2024-07-01 21:23:55

cryptearth
Member
Registered: 2024-02-03
Posts: 886

Re: [SOLVED] Error when upgrading extra/gvfs

Enrico1989 wrote:
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --protocol https --age 1 --sort rate --save /etc/pacman.d/mirrorlist
# When:       2020-07-14 17:00:51 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2020-07-14 17:00:44 UTC
# Last Check: 2020-07-14 16:11:40 UTC
Enrico1989 wrote:
$ reflector --protocol https --age 1 --sort rate --save /etc/pacman.d/mirrorlist
[2024-07-01 06:50:18] WARNING: failed to rate http(s) download (https://archlinux.c3sl.ufpr.br/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:50:40] WARNING: failed to rate http(s) download (https://mirror.sfo12.us.leaseweb.net/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:51:52] WARNING: failed to rate http(s) download (https://mirrors.sonic.net/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:52:08] WARNING: failed to rate http(s) download (https://archlinux.mivzakim.net/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:52:42] WARNING: failed to rate http(s) download (https://mirror.arizona.edu/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:05] WARNING: failed to rate http(s) download (https://mirror.gi.co.id/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:12] WARNING: failed to rate http(s) download (https://mirror.papua.go.id/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:21] WARNING: failed to rate http(s) download (https://mirror.guillaumea.fr/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:26] WARNING: failed to rate http(s) download (https://arch.jsc.mx/extra/os/x86_64/extra.db): HTTP Error 403: Forbidden
[2024-07-01 06:53:30] WARNING: failed to rate http(s) download (https://mirror.cyberbits.asia/archlinux/extra/os/x86_64/extra.db): <urlopen error [Errno 101] Network is unreachable>
[2024-07-01 06:53:44] WARNING: failed to rate http(s) download (https://mirror.jingk.ai/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:54] WARNING: failed to rate http(s) download (https://archlinux.ourhome.kiwi/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:02] WARNING: failed to rate http(s) download (https://mirror.archlinux.tw/ArchLinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:07] WARNING: failed to rate http(s) download (https://mirror.maa.albony.in/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:08] WARNING: failed to rate http(s) download (https://mirror.tmmworkshop.com/archlinux/extra/os/x86_64/extra.db): HTTP Error 403: Forbidden
[2024-07-01 06:54:17] WARNING: failed to rate http(s) download (https://mirror.kamtv.ru/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:29] WARNING: failed to rate http(s) download (https://mirrors.nxtgen.com/archlinux-mirror/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:35] WARNING: failed to rate http(s) download (https://arch.mirror.k0.ae/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:03] WARNING: failed to rate http(s) download (https://mirror.adectra.com/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:09] WARNING: failed to rate http(s) download (https://repo.jing.rocks/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:15] WARNING: failed to rate http(s) download (https://mirrors.nguyenhoang.cloud/archlinux/extra/os/x86_64/extra.db): <urlopen error _ssl.c:983: The handshake operation timed out>
[2024-07-01 06:55:35] WARNING: failed to rate http(s) download (https://lidsol.fi-b.unam.mx/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
error: Permission denied

The final "permission denied" comes from trying to save into /etc/pacman.d/mirrorlist without sudo - so when using reflector you have to run it as sudo as you want to override the current mirrorlist.
Also I would recommend to avoid the "--age" parameter - rather use your country. Here's mine:

sudo reflector --verbose --sort rate --country Germany --save /etc/pacman.d/mirrorlist --protocol https

where as you replace "Germany" by the name of your country.

You can also use some more wider selection:

sudo reflector --verbose --protocol http --age 6 --latest 50 --fastest 25 --save /etc/pacman.d/mirrorlist

--age 6 = from all mirrors only use those updated within the last 6 hours
--latest 50 = from those above only use the 50 most recent
--fastest 25 = sort them by speed and save the top 25 to the mirrorlist
For me this give:

Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
Server = http://ftp.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch
Server = http://mirror.dkm.cz/archlinux/$repo/os/$arch
Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
Server = http://mirror.ubrco.de/archlinux/$repo/os/$arch
Server = http://mirror.moson.org/arch/$repo/os/$arch
Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch
Server = http://archlinux.thaller.ws/$repo/os/$arch
Server = http://mirror.kumi.systems/archlinux/$repo/os/$arch
Server = http://mirror.puzzle.ch/archlinux/$repo/os/$arch
Server = http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
Server = http://mirror.archlinux.no/$repo/os/$arch
Server = http://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
Server = http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch
Server = http://mirror.5i.fi/archlinux/$repo/os/$arch
Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
Server = http://mirror.efect.ro/archlinux/$repo/os/$arch
Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
Server = http://archlinux.interhost.co.il/$repo/os/$arch
Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
Server = http://mirror.nw-sys.ru/archlinux/$repo/os/$arch
Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
Server = http://repo.br.ee/arch/$repo/os/$arch

As you use a VPN: Please run reflector with VPN disabled! Also check your /etc/resolv.conf to match your ip and route or set google and quad9 manual so your system uses actual internet DNS instead of the internal dns of your work (which seem to cause some conflicts here).

Last edited by cryptearth (2024-07-01 21:33:55)

Offline

#27 2024-07-02 17:16:28

Enrico1989
Member
Registered: 2018-07-05
Posts: 229

Re: [SOLVED] Error when upgrading extra/gvfs

Well, assuming those issues caused the corruption of the package I was upgraded, and that the corruption didn't happen again, I assume they're gone. Or at least they are sporadic.

Thanks for all the help!

Offline

Board footer

Powered by FluxBB