Too many mirror lists of arch and endeavour os in my pacman.d config

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.

My pacman.d config:

pacman.d $ ls
blackarch-mirrorlist    endeavouros-mirrorlist.2023.10.06-23.33.18  gnupg  mirrorlist      mirrorlist.pacnew
endeavouros-mirrorlist  endeavouros-mirrorlist.pacnew               hooks  mirrorlist.bak

1 Like

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

Then:

sudo pacman -Syyu

to update your system.

you are right, black arch mirrolist is for my pentesting stuff, thank you for your response mate, i will just do this and respond to you asap.

error: failed to commit transaction (no servers configured for repository)```

this is what i get when i try to install rate-mirrorlist

i used eos-welcome to update the mirrorlist but the issue still persists.

Looks like your /etc/paman.conf is not correctly configured.

Can you post: cat /etc/pacman.conf ?


#
# 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```

here it is

These repositories don’t exist anymore. You could remove them.
The rest of the file seems ok.

Use the following command to install rate-mirrors:


sudo pacman -U https://github.com/endeavouros-team/repo/blob/master/endeavouros/x86_64/rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst

And then:

1 Like

Needs commenting out (Include line).

1 Like
:: Retrieving packages...
 rate-mirrors-0.1...    23.0 KiB  23.7 KiB/s 00:01 [-------] 100%
error: failed retrieving file 'rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst.sig' from github.com : Maximum file size exceeded
warning: failed to retrieve some files```

Output when i tried to install it, then i tried to reinstall it

the output:

error: '/var/cache/pacman/pkg/rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst': package missing required signature```

I did comment the stuff you and xircon told me to, i will try to find a way around installing rate mirrors, until you guys reply to me.
Thanks again.

Hi, I’m also a newbie so my comment may not be very useful, but probably this can help.
The error:

error: failed retrieving file 'rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst.sig' from github.com : Maximum file size exceeded

Appears after executing the command:

sudo pacman -U https://github.com/endeavouros-team/repo/blob/master/endeavouros/x86_64/rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst

???

If that’s the case it would be worth to try to download it from the link and then installing it from the downloaded file for example:

sudo pacman -U /home/user/downloads/rate-mirrors-0.16.4-1-x86_64.pkg.tar.zst

Like I said, I’m also a newbie on Linux so my suggestion may be not very useful :frowning:

thanks, this worked.

1 Like

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