Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83367 - emerge --inject is deprecated, but not mentionend in manpage
Summary: emerge --inject is deprecated, but not mentionend in manpage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 108082
  Show dependency tree
 
Reported: 2005-02-26 04:38 UTC by plasmagunman
Modified: 2005-10-19 07:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the manpage talking about injection (emerge-inject-diff.patch,986 bytes, patch)
2005-05-18 16:19 UTC, Alec Warner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description plasmagunman 2005-02-26 04:38:13 UTC
man emerge still says

       --inject (-i)
              Injecting  a  package  inserts a 'stub' for that package so that
              Portage thinks that it is installed.  It is handy if  you  need,
              say,  a  binary version of XFree86 for esoteric hardware, or you
              just like to roll your own packages.  You must specify  a  cate-
              gory  and  particular  version  of a package for injecting.  For
              example, emerge --inject sys-kernel/gentoo-sources-2.4.19.

it should mention that --inject is deprecated and refer to man portage: /etc/make.profile/package.provided.

check this thread in the forum where this issue arose: http://forums.gentoo.org/viewtopic.php?p=2130001#2130001
and perhaps bug #27702 can be closed, too.

Reproducible: Always
Steps to Reproduce:
1. man emerge
2. emerge -i foo
3.




sys-apps/portage-2.0.51-r15
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-05-18 16:10:22 UTC
Also in emerge help output --inject is listed as an action but has no help 
listed.  ( CVS and latest ~sparc portage 2.0.51.22 )
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-05-18 16:19:28 UTC
Created attachment 59244 [details, diff]
patch for the manpage talking about injection

Just a ditty about how --inject is bad, and to use package.provided and see man
portage.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-10-19 07:46:13 UTC
Released in 2.0.53_rc6