Eos-bash-shared 404 error on all mirrors

I’m attempting to do a system upgrade via pacman -Syu. When I do this, pacman attempts to install eos-bash-shared, but it looks like it doesn’t exist in any of the mirrors:

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 eos-bash-shared-24.16.2-1-any.pkg.tar.zst failed to download
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from ca.gate.endeavouros.com : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirrors.gigenet.com : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from md.mirrors.hacktegic.com : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirrors.jlu.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.funami.tech : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.albony.xyz : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from ftp.acc.umu.se : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.jingk.ai : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from endeavour.remi.lu : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from fastmirror.pp.ua : Failed to connect to fastmirror.pp.ua port 443 after 1036 ms: Couldn't connect to server
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from de.freedif.org : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.alpix.eu : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.archlinux.tw : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from fosszone.csd.auth.gr : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirror.freedif.org : The requested URL returned error: 404
error: failed retrieving file 'eos-bash-shared-24.16.2-1-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

Relevant part of /etc/pacman.conf:

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

/etc/pacman.d/endeavouros-mirrorlist

Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch
Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
Server = https://mirror.albony.xyz/endeavouros/repo/$repo/$arch
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://endeavour.remi.lu/repo/$repo/$arch
Server = https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch
Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch
Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
$ pacman -Ss eos-bash-shared
endeavouros/eos-bash-shared 24.16.2-1
    Bash code shared by certain EndeavourOS apps.

I’d appreciate some help in understanding what’s going on here. If there is any other info that would be useful, please let me know. Thank you.

Update the mirrors on Welcome app first for both arch mirrors and eos mirrors. Then you could run the update again.

sudo pacman eos-bash-shared -Syu

1 Like

It appears to be missing from the mirrors at the moment. @manuel any ideas?

When you see 404s across many mirrors like that, it isn’t usually an issue where updating mirrors will help.

Not sure why it would be missing? :man_shrugging:

Edit: I ran the command and I assumed it was there?

[ricklinux@rick-ms7c37 ~]$ sudo pacman eos-bash-shared -Syu
[sudo] password for ricklinux: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
warning: eos-bash-shared-24.16.2-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)                  Old Version  New Version  Net Change

endeavouros/eos-bash-shared  24.16.2-1    24.16.2-1      0.00 MiB

Total Installed Size:  0.14 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] n
[ricklinux@rick-ms7c37 ~]$ 

It reinstalled it from your local package cache.

1 Like

It looks to me like the new version of the package is on the mirrors but the database is still pointing to the old version.

The mirrors have eos-bash-shared-24.16.3-1-any.pkg.tar.zst

@Italicize0041, you can try working around the issue with:

sudo pacman -U https://de.freedif.org/EndeavourOS/repo/endeavouros/x86_64/eos-bash-shared-24.16.3-1-any.pkg.tar.zst
sudo pacman -Syu

For me the database shows 24.16.3-1 as it should be.
Strange.
I compared the db with Alpix and it is the same.

$ pacman -Ss eos-bash-shared
endeavouros/eos-bash-shared 24.16.3-1
    Bash code shared by certain EndeavourOS apps.

Strange. Seems it is fine now. At least on the mirrors I checked.

@Italicize0041

I think there is a problematic mirror as first:

Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch

It is not up to date.
You can comment it out (by adding a comment mark # in the beginning of that line).

Looks like pacman works that way. If the first mirror on the list has an old package and fails to deliver it, pacman looks for other mirrors with the package version of the failed mirror, which in this case is old and other mirrors do not have it.

Yes, if the first mirror successfully serves a database it assumes that it is accurate.

This also means mirror ranking is useful in such cases.

eos-rankmirrors shows the update level of all mirrors, and currently ca.gate.endeavouros.com is two update levels behind.

2 Likes

Thank you, this did the trick.

Yeah you’re correct. I imagine removing the first mirror would have fixed the issue as well.
Thanks again to everyone for your help!

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