Mirrorlist updated, still issue with Yay/Pacman (no internet connection)

Something strange is happening on my machine.

I can use reflector to update the mirrorlist (sudo reflector -c US --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/endeavouros-mirrorlist). And of course, I can ping sites like normal from the same CLI.

Nevertheless when I want to update (yay -Syu), I get the infamous: failed retrieving file 'endeavouros.db' from coresite.mm.fcix.net : The requested URL returned error: 404

I tried deleting the mirrorlist and restarting over, same result. Even eos-welcome gives me the ‘no internet connection’ warning despite using my browser and accessing the web without issues at the same time.

I would try sudo pacman -Syyu after refteshing mirrors

Thanks @smokey . I already tried that and get the same result:

error: failed retrieving file 'endeavouros.db' from coresite.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from forksystems.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from nnenix.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from uvermont.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mnvoip.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from southfront.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from arlm.tyzoid.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.dal10.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from us.mirrors.cicku.me : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from ziply.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from codingflyboy.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from irltoolkit.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from ridgewireless.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.mia11.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirrors.ocf.berkeley.edu : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.adectra.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.arizona.edu : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.sfo12.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirrors.lug.mtu.edu : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.tmmworkshop.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from zxcvfdsa.com : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)

reflector won’t serve for creating mirrorlist for EnOS.

For Arch:

rate-mirrors --protocol https arch | sudo tee /etc/pacman.d/mirrorlist

For EnOS:

rate-mirrors --protocol https endeavouros | sudo tee /etc/pacman.d/endeavouros-mirrorlist

2 Likes

Do you mean eos-rankmirrors? because this one also “thinks” that there’s no internet connection (despite having one obviously - since I write this reply on the same machine).

Perhaps set the timeout a bit longer, I’ve had to do this before

1 Like

I’m having the same issue, how do I change the timeout?

eos-rankmirrors -t 45

Where “-t” means timeout and 45 means seconds. By default it’s already at 30 seconds which seems quite long, but if it’s timing out on you, then this is how you increase it.

Here are the most common settings you may want to use/modify:
eos-rankmirrors -h

  --sort <value>
             Primary key for sorting the mirrors.
             Supported key values:
                 age     (latest first)
                 rate    (fastest first)
             Default: age.

  --timeout, -t <value>
             Set the timeout value (in seconds) for checking a mirror.
             Default: 30.

And an example for reflector:

reflector --country countryName1,countryName2,countryName3 --latest 20 --sort rate --connection-timeout 10 --download-timeout 10 --save /etc/pacman.d/mirrorlist
2 Likes

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