[EMAIL PROTECTED] wrote:

Ryan Tandy <[EMAIL PROTECTED]> writes:

emerge --inject 'app-foo/bar-1.2.3'

Sounds like that's what you're thinking of.
--

That may be a way to do it.  It isn't what I was thinking of though.
I've never heard of this and man emerges has almost nothing to say
about it.  And `man inject'  doesn't now about it at all.

The man page makes a brief comment:

[ebuild U-] x11-base/xfree-4.3.0 [4.2.99.902]
   The - represents lack of SLOT  information  about  Xfree.   This
   will  occur  when the previous version emerged was injected (see
   inject for more info) or very outdated (so old that SLOT did not
   exist).   Either  way,  a newer version of Xfree is availabe for
   your updating delight.

But fails to mention where one can `see inject'.   That is the only
occurance of `inject' in man emerge.

I think is was something entered in /etc/portag/package.SOMETHING

I think emerge --inject is being deprecated, but I can't remember any sort of alternative. What the command does is tell Portage to think a package is installed, regardless of whether or not it is. I believe its purpose is/was to allow developers to muck around with patches and uber-unstable builds (e.g. CVS snapshots) without having to learn ebuild-ing in order to satisfy dependencies on other packages.

Aha!  A bit of effort solves everything!

[EMAIL PROTECTED] ~ $ emerge --inject

*** --inject has been deprecated.
*** If you manage a piece of software yourself, add it's name and
*** version (eg foo/bar-1.0) to /etc/portage/profile/package.provided.
*** If you want to prevent portage from upgrading a package, add it to
*** /etc/portage/package.mask prepending it with '>' (eg >foo/bar-1.0)
*** For more information on fine-grained portage control, please see
*** the portage man page.

emerge: root access required.
[EMAIL PROTECTED] ~ $

I have a feeling (Captain Obvious strikes again!) that /etc/portage/profile/package.provided is what you're looking for...
--
gentoo-user@gentoo.org mailing list

Reply via email to