public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  using package.provided
@ 2006-12-21 16:04 reader
  2006-12-21 16:30 ` Alan McKinnon
  2006-12-21 16:40 ` [gentoo-user] " Neil Bothwick
  0 siblings, 2 replies; 23+ messages in thread
From: reader @ 2006-12-21 16:04 UTC (permalink / raw
  To: gentoo-user

This section is snipped one of Allen M. posts on the monster gentoo
health thread (last paragraph is where my topic starts:
[...]
  Archive a portage tree by all means. But if an ebuild is removed that a 
  user want to keep, the solution is so simple it's amazing. Copy the 
  ebuild to /usr/local/portage in the correct directory structure. I 
  maintain my own enlightenment-17 ebuilds, so to start I did this:

  mkdir -p /usr/local/portage/x11-wm
  cp -ar /usr/portage/x11-wm/e /usr/local/portage/x11-wm

  Run emerge. Simple as that. You might need to add an entry to 
  package.mask so that portage won't use later versions in the main tree 
  but that's all part of normal gentoo usage anyway.
[...]

In the event user runs with ~ARCHITECTURE flag set then masking won't
do it... right?

So my understanding is that user needs to set something in:
  /etc/portage/profile/package.provided showing an equal or higher
version number than what is available in portage (masked or not).
(To maintain users own package)

Assuming I got this much right, is there a better way?

I ask because setting a higher version number might eventually need
bumping still higher... or if versioning changes somehow will `higher'
not be noticed.

Looking for a way not to have to check package.provided to make sure
versioning is still good.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 23+ messages in thread
* [gentoo-user] using package.provided
@ 2016-02-25  3:55 Harry Putnam
  2016-02-25  5:22 ` Dale
  2016-02-25  9:50 ` Neil Bothwick
  0 siblings, 2 replies; 23+ messages in thread
From: Harry Putnam @ 2016-02-25  3:55 UTC (permalink / raw
  To: gentoo-user

I'd like to stay on kernel-4.1.6, rather than keep installing the
newest version at each upgrade.

As I recall, and a quick look at `man portage', a file named
`package.provided' is meant for such things.

The syntax is not described in detail... I tried these:

  /etc/portage/package.provided

  >=sys-kernel/gentoo-sources-4.1.6

Still `emerge -vp gentoo-sources' indicates it will install the most
recent kernel.

then I noticed the portage man page, under `Format' does say:
"relational operators are not allowed"
So I dropped the `>=' part

  sys-kernel/gentoo-sources-4.1.6

Same result from `emerge -vp gentoo-sources' . . .

What am I forgetting?



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-02-26 10:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 16:04 [gentoo-user] using package.provided reader
2006-12-21 16:30 ` Alan McKinnon
2006-12-21 16:41   ` [gentoo-user] " reader
2006-12-21 16:54   ` reader
2006-12-22 17:05   ` reader
2006-12-23  0:06     ` Neil Bothwick
2006-12-21 16:40 ` [gentoo-user] " Neil Bothwick
2006-12-21 16:51   ` [gentoo-user] " reader
2006-12-21 17:36   ` [gentoo-user] " Uwe Thiem
2006-12-22  7:03     ` Alan McKinnon
2006-12-22 10:57       ` Uwe Thiem
2006-12-22  8:52     ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2016-02-25  3:55 Harry Putnam
2016-02-25  5:22 ` Dale
2016-02-25  5:31   ` Dale
2016-02-25  5:36     ` Dale
2016-02-25 20:39   ` covici
2016-02-25 21:47     ` Dale
2016-02-25 22:30       ` Neil Bothwick
2016-02-26  9:39         ` Dale
2016-02-26  9:53           ` Neil Bothwick
2016-02-26 10:32             ` Dale
2016-02-25  9:50 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox