You are not logged in.

#1 2022-04-06 14:31:13

Hina
Member
Registered: 2021-12-28
Posts: 8

[Solved] 404 on a mirror when doing a system upgrade

Hello

I have been getting this error when doing a system upgrade for a couple of days.

Pacman is able to find packages and upgrade them just fine, but it seems there is one server down. I didn't see anyone else mentioning this in the forums so I was thinking is this caused by something in my end or is this just something normal?


LANG=c sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                        155.6 KiB   259 KiB/s 00:01 [###################################################] 100%
 extra                                                      1690.5 KiB  1002 KiB/s 00:02 [###################################################] 100%
 community                                                     6.5 MiB  1662 KiB/s 00:04 [###################################################] 100%
 multilib                                                    174.6 KiB  1679 KiB/s 00:00 [###################################################] 100%
error: failed retrieving file 'core.db' from mirror.wtnet.de : The requested URL returned error: 404
error: failed retrieving file 'extra.db' from mirror.wtnet.de : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.wtnet.de : The requested URL returned error: 404
warning: too many errors from mirror.wtnet.de, skipping for the remainder of this transaction
:: Starting full system upgrade...
 there is nothing to do

Last edited by Hina (2022-04-06 23:09:22)

Offline

#2 2022-04-06 14:33:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [Solved] 404 on a mirror when doing a system upgrade

Can be normal, mirrors come and go, or have temporary problems all the time: https://wiki.archlinux.org/title/Mirror … ng_mirrors

Offline

#3 2022-04-06 14:42:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] 404 on a mirror when doing a system upgrade

What, exactly, does that mirrorlist entry say?

Edit: see the reopen request here: https://bugs.archlinux.org/task/62135

Last edited by Scimmia (2022-04-06 14:48:31)

Online

#4 2022-04-06 23:08:52

Hina
Member
Registered: 2021-12-28
Posts: 8

Re: [Solved] 404 on a mirror when doing a system upgrade

Scimmia wrote:

What, exactly, does that mirrorlist entry say?

Edit: see the reopen request here: https://bugs.archlinux.org/task/62135

I see

I changed

Server = https://mirror.wtnet.de/arch/$repo/os/$arch

to

Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch

in /etc/pacman.d/mirrorlist and now it works fine

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

# With:       reflector @/etc/xdg/reflector/reflector.conf
# When:       2021-10-26 22:18:10 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2021-10-26 22:17:12 UTC
# Last Check: 2021-10-26 22:02:50 UTC

Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
Server = https://archmirror.it/repos/$repo/os/$arch
Server = https://mirror.pkgbuild.com/$repo/os/$arch
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://arch.mirror.jsc.mx/$repo/os/$arch
Server = https://mirror.moson.org/arch/$repo/os/$arch
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.theash.xyz/arch/$repo/os/$arch

Thank you for the quick replies!

Last edited by Hina (2022-04-06 23:51:50)

Offline

#5 2022-04-07 00:20:51

Hina
Member
Registered: 2021-12-28
Posts: 8

Re: [Solved] 404 on a mirror when doing a system upgrade

Update:

I did

sudo reflector --latest 200 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

And got a noticeable speed improvement to downloading updates. As I would expect since primary mirror is now the fastest one from the top 200 most recently synced mirrors.

Offline

Board footer

Powered by FluxBB