Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6353 - some portage optimizations
Summary: some portage optimizations
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-12 04:50 UTC by Maurizio Disimino
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Disimino 2002-08-12 04:50:04 UTC
emerge -C kdetoys     
      
Ximian root # emerge -up kde      
[ebuild  N   ] kde-base/kdetoys-3.0.2 to /      
[ebuild   R  ] kde-base/kde-3.0.2 to /      
      
Ximian root # emerge --help | grep inject      
       inject (-i short option)      
              emerge inject gentoo-sources-2.4.19      
      
following the example provided i've done:      
      
Ximian root # emerge -i kdetoys-3.0.2      
>>> Injected kdetoys-3.0.2.      
      
Ximian root # emerge -up kde      
[ebuild  N   ] kde-base/kdetoys-3.0.2 to /      
[ebuild   R  ] kde-base/kde-3.0.2 to /      
      
'man emerge' helped me.      
then I tried:      
      
Ximian root # emerge -i kde-base/kdetoys-3.0.2      
>>> Injected kde-base/kdetoys-3.0.2.      
      
and it worked fine.      
      
Ximian root # emerge -p kde      
[ebuild   R  ] kde-base/kde-3.0.2 to /      
     
0) emerge -i ${PVR} without ${CATEGORY} should produce a warning msg     
   and shouldn't let users inject packages that way.    
       Ximian root # emerge -i kdetoys-3.0.2     
       !!! Not injecting kdetoys-3.0.2; Package already exists.     
   wrong ! kdetoys-3.0.2 doesn't exist    
   only kde-base/kdetoys-3.0.2 really exists.    
1) What about updating the --help ?      
2) 'emerge -i' without other parameters does nothing.     
    What about printing an help msg such as emerge -C, -s do ?     
3) Also messages provided by emerge -u -k -b -p -o -n -f, etc      
    (without any other parameter) should be tweaked.     
     
I'm suggesting this since gentoo 1.4 will be released soon      
(at least, as soon as gcc guys will release gcc 3.2 stable)     
   
Infos:   
Gentoo 1.4beta  
gcc 3.2 prerelease 
Portage 2.0.27-thread-r1  
  
See ya guys.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-08-18 19:50:04 UTC
OK, this will be fixed in portage 2.0.29.  Thanks :)