# Use of overlay repo for bugfixes

**URL:** <https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922>\
**Category:** EndeavourOS repo\
**Created:** [May 10, 2022, 3:02pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922 "2022-05-10T15:02:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [May 10, 2022, 3:02pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/1 "2022-05-10T15:02:11Z")

</div>

Continuing the discussion from [Can't do a "pacman -Syu" because yad-eos and yad are in conflict](https://forum.endeavouros.com/t/cant-do-a-pacman-syu-because-yad-eos-and-yad-are-in-conflict/26887/6):

> [@Can't do a "pacman -Syu" because yad-eos and yad are in conflict](https://forum.endeavouros.com/t/cant-do-a-pacman-syu-because-yad-eos-and-yad-are-in-conflict/26887/6):
>
> there is a display bug in `yad` and so we are providing a patched version.

Not sure if this has been considered already, but EndeavourOS has a ~~n overlay~~ repo that ~~can~~ could be used to directly override packages in this sort of situation.

For example, rather than have a different package called `eos-yad`, rebuild the `yad` package and give it a decimal pkgrel bump (12.0-1 → 12.0-1.0).

This means people don’t have to replace conflicting packages, and when the bug is fixed upstream it’s a simple case of removing the package from the repo to revert to updating from Arch.

---

<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:** [May 10, 2022, 3:03pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/2 "2022-05-10T15:03:53Z")

</div>

> [@jonathon](#):
>
> Not sure if this has been considered already, but EndeavourOS has an overlay repo that can be used to directly override packages in this sort of situation.

We don’t have one today but it is an interesting idea.

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [May 10, 2022, 3:05pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/3 "2022-05-10T15:05:51Z")

</div>

I thought there was a repo that had things like yay and dkms-installer in it (and eos-yad)? 😕

---

<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:** [May 10, 2022, 3:06pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/4 "2022-05-10T15:06:25Z")

</div>

It is under the Arch repos so it can’t be used to override.

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [May 10, 2022, 3:18pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/5 "2022-05-10T15:18:41Z")

</div>

Ah, gotcha.

Did it used to be above, or did I imagine that? 🤔 _/me looks back in time_

Edit, nope, always below:

> [@](#):
>
> 1. Add EndeavourOS to `pacman.conf` (below [multilib])

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [May 10, 2022, 4:45pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/6 "2022-05-10T16:45:25Z")

</div>

> [@jonathon](#):
>
> Did it used to be above, or did I imagine that?

I guess you may remember arco repos, or I also have imagined that. I think one of these distros had once configured their repos before arch.  
🤔 🤯

---

<div class="post-metadata">

**Author:** ![moson](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moson/32/78325_2.png) [@moson](https://forum.endeavouros.com/u/moson)\
**Post date:** [May 10, 2022, 4:59pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/7 "2022-05-10T16:59:56Z")

</div>

Imho it does make sense for case @jonathon mentioned above (well, ultimately you’d want to have things fixed in the arch repos of course)

Changing it (moving it to the top) by default is probably not really an option anymore since you would have a mix of users (new installs) having it at the top, where overlaying is then possible and all the existing installs without… (unless you go MJ style and fiddle around in the users config files past install; nah don’t do that 😉)

---

<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:** [May 10, 2022, 5:05pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/8 "2022-05-10T17:05:21Z")

</div>

I think it would be better to add an additional repo than move the current repo. That being said, it doesn’t seem worth the effort for a single package.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [May 10, 2022, 5:19pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/9 "2022-05-10T17:19:00Z")

</div>

Like it is now users getting confrontation with it what is also not a bad thing.. but it is indeed always also a **HUGE PANIC BUTTON!** if updates failed with an

# ERROR!

 ![Bildschirmfoto vom 2022-05-10 19-18-07](https://forum.endeavouros.com/uploads/default/original/3X/b/4/b4c6b5ef450137baa8b1063f86e0e69de4501d86.png)

# 🤪

---

<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:** [May 10, 2022, 8:35pm UTC](https://forum.endeavouros.com/t/use-of-overlay-repo-for-bugfixes/26922/10 "2022-05-10T20:35:46Z")

</div>

Thanks @jonathon for the nice idea!

Fortunately we have only one package that needs this kind of fixing. If there would be more, then an additional repo before Arch repos would be a straightforward way to solve similar issues.

I’m still hoping the yad dev is going to fix the dialog height issue. Don’t really know why not, as he has been informed about the problem a long time ago.
