Failed retrieving file 'endeavouros.db' from fastmirror.pp.ua

yay -Sy
:: Synchronizing package databases...
 endeavouros                   34,3 KiB   123 KiB/s 00:00 [------------------------------] 100%
 core                         156,8 KiB   506 KiB/s 00:00 [------------------------------] 100%
 extra                       1720,3 KiB  2,80 MiB/s 00:01 [------------------------------] 100%
 community                      7,0 MiB  4,71 MiB/s 00:01 [------------------------------] 100%
 multilib                     171,1 KiB   311 KiB/s 00:01 [------------------------------] 100%
error: failed retrieving file 'endeavouros.db' from fastmirror.pp.ua : Failed to connect to fastmirror.pp.ua port 443 after 153 ms: Connection refused

My pacman.conf (should be out-of-the-box):

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

# 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

My mirrorlist:

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With:       reflector --verbose -c PL --protocol https --sort rate --latest 10 --download-timeout 5
# When:       2022-10-11 10:54:07 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-10-11 10:50:04 UTC
# Last Check: 2022-10-11 10:35:39 UTC

## Poland
Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch

## Poland
Server = https://arch.midov.pl/arch/$repo/os/$arch

## Poland
Server = https://repo.skni.umcs.pl/archlinux/$repo/os/$arch

## Worldwide
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
1 Like

in /etc/pacman.d/endeavouros-mirrorlist

Commenting out line 76 worked:

Server = https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch

If you are not depending on that particular mirror, it shouldn’t be an issue with your running system. You will receive the EOS updates, the system automatically connects to the next mirror that responds the fastest in your situation.

Also, you might want to have a look at eos-rankmirrors if you need to refresh EnOS’ mirrorlist.

2 Likes

@Bancerk

Those are only warnings, sometimes mirrors don’t work either temporarily or permanently.

You can change your endeavouros-mirrorlist.
You can also ignore mirrors you don’t want to rank, for example:

eos-rankmirrors --ignore 'funami|pizza|pp.ua'

That makes ranking faster too. :wink:

See also:

eos-rankmirrors --help
1 Like

Thank you all for the help. I wasn’t able to build AUR packages but eos-rankmirrors seem to fix it.

Well, eos-rankmirrors can’t directly make a difference to AUR building.
But failure to update packages could prevent that.

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