whenever i try to install something i get this kind of mirrorlist errors
error: failed retrieving file 'python-pip-23.3.1-1-any.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 80 after 195 ms: Couldn't connect to server
error: failed retrieving file 'python-cffi-1.16.0-1-x86_64.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 80 after 197 ms: Couldn't connect to server
error: failed retrieving file 'python-pycparser-2.21-5-any.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 80 after 196 ms: Couldn't connect to server
warning: too many errors from mirror.4v1.in, skipping for the remainder of this transaction
error: failed retrieving file 'python-ply-3.11-12-any.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 80 after 199 ms: Couldn't connect to server
error: failed retrieving file 'python-cryptography-41.0.4-1-x86_64.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 80 after 202 ms: Couldn't connect to server
error: failed retrieving file 'python-pip-23.3.1-1-any.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 443 after 167 ms: Couldn't connect to server
error: failed retrieving file 'python-cffi-1.16.0-1-x86_64.pkg.tar.zst' from mirror.4v1.in : Failed to connect to mirror.4v1.in port 443 after 165 ms: Couldn't connect to server
error: failed retrieving file 'python-pycparser-2.21-5-any.pkg.tar.zst' from mirrors.abhy.me : Failed to connect to mirrors.abhy.me port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-ply-3.11-12-any.pkg.tar.zst' from mirrors.abhy.me : Failed to connect to mirrors.abhy.me port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-cryptography-41.0.4-1-x86_64.pkg.tar.zst' from mirrors.abhy.me : Connection timeout after 10000 ms
warning: too many errors from mirrors.abhy.me, skipping for the remainder of this transaction
error: failed retrieving file 'python-pip-23.3.1-1-any.pkg.tar.zst' from mirrors.abhy.me : Failed to connect to mirrors.abhy.me port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-cffi-1.16.0-1-x86_64.pkg.tar.zst' from mirrors.abhy.me : Failed to connect to mirrors.abhy.me port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-pycparser-2.21-5-any.pkg.tar.zst' from mirror.maa.albony.in : Failed to connect to mirror.maa.albony.in port 80 after 10003 ms: Timeout was reached
error: failed retrieving file 'python-ply-3.11-12-any.pkg.tar.zst' from mirror.maa.albony.in : Failed to connect to mirror.maa.albony.in port 80 after 10001 ms: Timeout was reached
error: failed retrieving file 'python-cryptography-41.0.4-1-x86_64.pkg.tar.zst' from mirror.maa.albony.in : Failed to connect to mirror.maa.albony.in port 80 after 10001 ms: Timeout was reached
warning: too many errors from mirror.maa.albony.in, skipping for the remainder of this transaction
error: failed retrieving file 'python-pip-23.3.1-1-any.pkg.tar.zst' from mirror.maa.albony.in : Failed to connect to mirror.maa.albony.in port 80 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-cffi-1.16.0-1-x86_64.pkg.tar.zst' from mirror.maa.albony.in : Failed to connect to mirror.maa.albony.in port 80 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-pycparser-2.21-5-any.pkg.tar.zst' from mirror.albony.in : Failed to connect to mirror.albony.in port 443 after 10001 ms: Timeout was reached
error: failed retrieving file 'python-ply-3.11-12-any.pkg.tar.zst' from mirror.albony.in : Failed to connect to mirror.albony.in port 443 after 10001 ms: Timeout was reached
error: failed retrieving file 'python-cryptography-41.0.4-1-x86_64.pkg.tar.zst' from mirror.albony.in : Failed to connect to mirror.albony.in port 443 after 10001 ms: Timeout was reached
warning: too many errors from mirror.albony.in, skipping for the remainder of this transaction
error: failed retrieving file 'python-pip-23.3.1-1-any.pkg.tar.zst' from mirror.albony.in : Failed to connect to mirror.albony.in port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-cffi-1.16.0-1-x86_64.pkg.tar.zst' from mirror.albony.in : Failed to connect to mirror.albony.in port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'python-pycparser-2.21-5-any.pkg.tar.zst' from mirror.cse.iitk.ac.in : The requested URL returned error: 404
error: failed retrieving file 'python-ply-3.11-12-any.pkg.tar.zst' from mirror.cse.iitk.ac.in : The requested URL returned error: 404
error: failed retrieving file 'python-cryptography-41.0.4-1-x86_64.pkg.tar.zst' from mirror.cse.iitk.ac.in : The requested URL returned error: 404
Context:
I decided to dig around and learnt that i can manually update mirrorlist in etc/pacman.d, i went into that directory but there are a lot of mirrorlists in my pacman.d config and i think they are causing issues, i am not sure what exactly is happening, i have updated the mirrorlist but the error does not go, i have tried to update system, it still stays there, please help.
This one does not belong to a standard EnOS’ installation. You must have at some point added their repo to your /etc/pacman.conf manually or you have run the script for it to be set up.
You could try installing rate-mirrors and run the following:
For Arch:
rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist
For EnOS:
rate-mirrors endeavouros | sudo tee /etc/pacman.d/endeavouros-mirrorlist
#
# 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
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 5
# 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.
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
#[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
# 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
[sublime-text]
Server = https://download.sublimetext.com/arch/stable/x86_64
[blackarch]
Include = /etc/pacman.d/blackarch-mirrorlist```