From: Caveman Al Toraboran <toraboracaveman@protonmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Prefer Gentoo repository rather than overlay?
Date: Thu, 23 Apr 2020 19:35:22 +0000 [thread overview]
Message-ID: <IPBcpmuBZ9gMqu3DGnM7GRmjz1VH0qUOM6kzoLHgFlNh4qXrXr9692I7CWXlVv1milEe_kO74_7OvFzqz1Vrpd6dSpKX31KjhjzVVuRH7P8=@protonmail.com> (raw)
In-Reply-To: <af94a8e7-fdf5-b022-25ce-39273fbe792b@gmail.com>
On Thursday, April 23, 2020 11:09 PM, Matt Connell (Gmail) <matthewdconnell@gmail.com> wrote:
> Looking for some guidance in managing the source of package
> installs/upgrades when a package is provided by both the standard
> repository and an overlay.
>
> I currently have the poly-c overlay added via layman. poly-c provides
> many of the same packages as the standard gentoo repository.
>
> When I install/update packages, portage appears to prefer the version
> provided by poly-c rather than the version provided by the gentoo
> repository, if the two provide the same version number of the package.
> Examples of this include sys-boot/grub, sys-fs/udev, and other critical
> packages.
>
> I would prefer that portage prioritize gentoo's version rather than the
> overlay's version, unless specified otherwise (eg.
> sys-boot/grub::poly-c) when installing.
>
> What's the best way to go about doing this? I could specify ::gentoo
> for each entry in my world file, but this seems rather heavy-handed and
> high maintenance. Is there a better way?
**warning** i'm dumb.
didn't try it, but i guess you'll get the effect
you want by:
* setting priority of your layman repo below -1000.
* setting priority of the gentoo repo above
50 (i think default for layman).
more info:
https://wiki.gentoo.org/wiki/Ebuild_repository#Priorities
next prev parent reply other threads:[~2020-04-23 19:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 19:09 [gentoo-user] Prefer Gentoo repository rather than overlay? Matt Connell (Gmail)
2020-04-23 19:35 ` Caveman Al Toraboran [this message]
2020-04-23 19:39 ` J. Roeleveld
2020-04-23 20:00 ` tastytea
2020-04-23 20:14 ` J. Roeleveld
2020-04-23 20:33 ` Matt Connell (Gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='IPBcpmuBZ9gMqu3DGnM7GRmjz1VH0qUOM6kzoLHgFlNh4qXrXr9692I7CWXlVv1milEe_kO74_7OvFzqz1Vrpd6dSpKX31KjhjzVVuRH7P8=@protonmail.com' \
--to=toraboracaveman@protonmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox