You are not logged in.
Hey everyone.
Whenever I receive updates from Chaotic AUR, I get an error: failed retrieving file. The error is followed by the name of a mirror that isn't even in any of my mirrorlists (chaotic-mirrorlist and mirrorlist). The result of this is that I can't blacklist this broken mirror. If I do pacman -Syu or pacman -Syyu, 50% of the time the requests come from the broken mirror. This is very annoying, and I can't get any reliable updates because of this.
How do I fix this problem?
Last edited by LinuxUser15939 (2022-02-11 15:35:49)
Offline
Reads like a wrongly formatted config. Post your pacman.conf
Online
Here you go
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
#IgnorePkg =
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 16
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Offline
Please post the output of...
pacman-conf
What's the URL of the faulty mirror?
Offline
The mirror's name is mirror.heigou.pe.kr.
Here's the output of pacman-conf
[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
HoldPkg = pacman
HoldPkg = glibc
Architecture = x86_64
Color
VerbosePkgLists
DisableDownloadTimeout
ILoveCandy
ParallelDownloads = 16
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[core]
Usage = All
Server = https://mirror-hk.koddos.net/archlinux/core/os/x86_64
Server = https://hkg.mirror.rackspace.com/archli … /os/x86_64
Server = https://asia.mirror.pkgbuild.com/core/os/x86_64
Server = https://mirrors.tuna.tsinghua.edu.cn/ar … /os/x86_64
Server = https://arch-mirror.wtako.net/core/os/x86_64
Server = https://mirrors.bfsu.edu.cn/archlinux/core/os/x86_64
Server = https://mirrors.cat.net/archlinux/core/os/x86_64
Server = https://ftp.harukasan.org/archlinux/core/os/x86_64
Server = https://mirror.anigil.com/archlinux/core/os/x86_64
Server = https://mirror.funami.tech/arch/core/os/x86_64
Server = https://mirrors.ustc.edu.cn/archlinux/core/os/x86_64
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchL … /os/x86_64
Server = https://mirror.premi.st/archlinux/core/os/x86_64
Server = https://ftp.lanet.kr/pub/archlinux/core/os/x86_64
[extra]
Usage = All
Server = https://mirror-hk.koddos.net/archlinux/extra/os/x86_64
Server = https://hkg.mirror.rackspace.com/archli … /os/x86_64
Server = https://asia.mirror.pkgbuild.com/extra/os/x86_64
Server = https://mirrors.tuna.tsinghua.edu.cn/ar … /os/x86_64
Server = https://arch-mirror.wtako.net/extra/os/x86_64
Server = https://mirrors.bfsu.edu.cn/archlinux/extra/os/x86_64
Server = https://mirrors.cat.net/archlinux/extra/os/x86_64
Server = https://ftp.harukasan.org/archlinux/extra/os/x86_64
Server = https://mirror.anigil.com/archlinux/extra/os/x86_64
Server = https://mirror.funami.tech/arch/extra/os/x86_64
Server = https://mirrors.ustc.edu.cn/archlinux/extra/os/x86_64
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchL … /os/x86_64
Server = https://mirror.premi.st/archlinux/extra/os/x86_64
Server = https://ftp.lanet.kr/pub/archlinux/extra/os/x86_64
[community]
Usage = All
Server = https://mirror-hk.koddos.net/archlinux/ … /os/x86_64
Server = https://hkg.mirror.rackspace.com/archli … /os/x86_64
Server = https://asia.mirror.pkgbuild.com/community/os/x86_64
Server = https://mirrors.tuna.tsinghua.edu.cn/ar … /os/x86_64
Server = https://arch-mirror.wtako.net/community/os/x86_64
Server = https://mirrors.bfsu.edu.cn/archlinux/c … /os/x86_64
Server = https://mirrors.cat.net/archlinux/community/os/x86_64
Server = https://ftp.harukasan.org/archlinux/community/os/x86_64
Server = https://mirror.anigil.com/archlinux/community/os/x86_64
Server = https://mirror.funami.tech/arch/community/os/x86_64
Server = https://mirrors.ustc.edu.cn/archlinux/c … /os/x86_64
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchL … /os/x86_64
Server = https://mirror.premi.st/archlinux/community/os/x86_64
Server = https://ftp.lanet.kr/pub/archlinux/community/os/x86_64
[multilib]
Usage = All
Server = https://mirror-hk.koddos.net/archlinux/ … /os/x86_64
Server = https://hkg.mirror.rackspace.com/archli … /os/x86_64
Server = https://asia.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://mirrors.tuna.tsinghua.edu.cn/ar … /os/x86_64
Server = https://arch-mirror.wtako.net/multilib/os/x86_64
Server = https://mirrors.bfsu.edu.cn/archlinux/m … /os/x86_64
Server = https://mirrors.cat.net/archlinux/multilib/os/x86_64
Server = https://ftp.harukasan.org/archlinux/multilib/os/x86_64
Server = https://mirror.anigil.com/archlinux/multilib/os/x86_64
Server = https://mirror.funami.tech/arch/multilib/os/x86_64
Server = https://mirrors.ustc.edu.cn/archlinux/m … /os/x86_64
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchL … /os/x86_64
Server = https://mirror.premi.st/archlinux/multilib/os/x86_64
Server = https://ftp.lanet.kr/pub/archlinux/multilib/os/x86_64
[chaotic-aur]
Usage = All
Server = https://kr-mirror.chaotic.cx/chaotic-aur/x86_64
Server = https://in-mirror.chaotic.cx/chaotic-aur/x86_64
Server = https://in-2-mirror.chaotic.cx/chaotic-aur/x86_64
Server = https://geo-mirror.chaotic.cx/chaotic-aur/x86_64
Server = https://cdn-mirror.chaotic.cx/chaotic-aur/x86_64
Offline
The mirror's name is mirror.heigou.pe.kr.
Yeah, that's what https://kr-mirror.chaotic.cx/chaotic-aur/x86_64 is.
Offline
ParallelDownloads = 16
The longest mirror list shown by pacman-conf has 14 entries, try reducing the number of parallel downloads
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Most of those (under chaotic-aur) aren't even mirrors. Three of the five go through multiple 305 redirects to land at the same final destination. The other two also go through a couple redirects but appear to land on actually unique servers. So you only have three distinct mirrors for chaotic-aur, you waste a bit of time on all the redirects, and as Scimmia noted, the first mirror resolves to the server that you are aware is "broken".
I gather all of the above might be the source of the "chaotic" in the name "chaotic-aur".
Last edited by Trilby (2022-02-11 13:55:10)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks to Scimmia and Trilby for the informative answers! I decided to open up all of the mirrors in my browser and found out that 6 out of the 17 mirrors present in the default/original chaotic-mirrorlist file redirected to the broken mirror. So, I deleted those from the list. I then did some speed tests (with the time command) and managed to organize a handful of mirrors based on download speeds. Everything works now. Very happy with the result.
Last edited by LinuxUser15939 (2022-02-11 15:29:22)
Offline