# Eos-bash-shared 404 error on all mirrors

**URL:** <https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313>\
**Category:** EndeavourOS repo\
**Created:** [March 30, 2024, 4:43pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313 "2024-03-30T16:43:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Italicize0041](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/i/35a633/32.png) [@Italicize0041](https://forum.endeavouros.com/u/Italicize0041)\
**Post date:** [March 30, 2024, 4:43pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/1 "2024-03-30T16:43:08Z")

</div>

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:

```auto
:: 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:

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

```

/etc/pacman.d/endeavouros-mirrorlist

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

```

```auto
$ 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.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 30, 2024, 4:49pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/2 "2024-03-30T16:49:19Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 30, 2024, 5:05pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/3 "2024-03-30T17:05:15Z")

</div>

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

> [@ricklinux](#):
>
> Update the mirrors on Welcome app first

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

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [March 30, 2024, 5:09pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/4 "2024-03-30T17:09:40Z")

</div>

Not sure why it would be missing? 🤷‍♂️

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

```auto
[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 ~]$ 

```

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 30, 2024, 5:14pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/5 "2024-03-30T17:14:48Z")

</div>

> [@ricklinux](#):
>
> ```auto
> warning: eos-bash-shared-24.16.2-1 is up to date -- reinstalling
> 
> ```

It reinstalled it from your local package cache.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 30, 2024, 5:17pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/6 "2024-03-30T17:17:25Z")

</div>

> [@ricklinux](#):
>
> Not sure why it would be missing?

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:

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

```

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 30, 2024, 5:26pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/7 "2024-03-30T17:26:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 30, 2024, 5:27pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/8 "2024-03-30T17:27:48Z")

</div>

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

```

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 30, 2024, 5:37pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/9 "2024-03-30T17:37:54Z")

</div>

> [@manuel](#):
>
> For me the database shows 24.16.3-1 as it should be.

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

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 30, 2024, 5:39pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/10 "2024-03-30T17:39:07Z")

</div>

@Italicize0041

I think there is a problematic mirror as first:

```auto
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).

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 30, 2024, 5:48pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/11 "2024-03-30T17:48:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [March 30, 2024, 5:49pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/12 "2024-03-30T17:49:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [March 30, 2024, 5:53pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/13 "2024-03-30T17:53:15Z")

</div>

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](http://ca.gate.endeavouros.com) is two update levels behind.

---

<div class="post-metadata">

**Author:** ![Italicize0041](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/i/35a633/32.png) [@Italicize0041](https://forum.endeavouros.com/u/Italicize0041)\
**Post date:** [March 30, 2024, 6:16pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/14 "2024-03-30T18:16:03Z")

</div>

> [@dalto](#):
>
> @Italicize0041, you can try working around the issue with:
> 
> ```auto
> 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
> 
> ```

Thank you, this did the trick.

> [@manuel](#):
>
> @Italicize0041
> 
> I think there is a problematic mirror as first:
> 
> ```auto
> 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).

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [April 1, 2024, 6:16pm UTC](https://forum.endeavouros.com/t/eos-bash-shared-404-error-on-all-mirrors/53313/15 "2024-04-01T18:16:17Z")

</div>

Closed on April 1, 2024, 6:16pm UTC

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