Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] package.provided syntax for overlay
Date: Sun, 19 Feb 2017 10:50:50
Message-Id: 20170219105031.2827edcd@digimed.co.uk
In Reply to: Re: [gentoo-user] package.provided syntax for overlay by Johannes Rosenberger
1 On Sun, 19 Feb 2017 11:45:27 +0100, Johannes Rosenberger wrote:
2
3 > > So I tried in /etc/portage/package.provided any combination of these:
4 > >
5 > > x11-wm/enlightenment-9999:0.17/9999::bar
6 > >
7 > > =x11-wm/enlightenment-9999:0.17
8 > >
9 > > x11-wm/enlightenment-9999
10 > >
11 > > None of which can stop portage dragging in 'x11-
12 > > wm/enlightenment-9999:0.17/9999::bar'. What is the correct syntax to
13 > > block this version of enlightenment from emerging?
14 > >
15 > According to the portage manpage 'x11-wm/enlightenment-9999' should be
16 > the correct syntax.
17 >
18 > But I think, package.provided is the wrong file at all. The correct way
19 > to accomplish what you want to is masking
20 > 'x11-wm/enlightenment-9999:0.17/9999::bar'.
21
22 Agreed.
23
24 Another option is to copy/symlink the specific package you want from the
25 bar overlay to your local overlay and do not include the bar overlay in
26 repos.conf.
27
28
29 --
30 Neil Bothwick
31
32 Change is inevitable. Except from a vending machine.

Replies

Subject Author
Re: [gentoo-user] package.provided syntax for overlay Mick <michaelkintzios@×××××.com>