Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5000

Summary: integrate qpkg functionality into emerge
Product: Portage Development Reporter: Mike Roest <gentoo>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: enhancement CC: bugs-janitor, karltk, mholzer, mr_bones_, vapier
Priority: Lowest    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Roest 2002-07-14 16:58:43 UTC
I have 2 requests for features

emerge --list 

That will list all the currently installed packages ala rpm -qa

and 

emerge --find /path/to/file

That will allow you to list what package /path/to/file is from ala 
rpm -qf /path/to/file

Thanks
Comment 1 SpanKY gentoo-dev 2002-07-14 17:54:33 UTC
these features already exist

`emerge gentoolkit` and then type `qpkg -h`
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-12-10 10:24:57 UTC
Best to integrate this functionality into emerge at some point.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-01-11 04:53:05 UTC
If possible make the "-f" use regexps.. I more often get the question "what
package provides foo" then "what packages provides /path/to/foo".

So "What package provides "libhistory.so" ?" could be checked with
  ~$ emerge -f "*libhistory.so*"
by ppl that think have this file on their system.
Comment 4 SpanKY gentoo-dev 2003-01-12 11:28:22 UTC
-f is already taken by fetch ;) 
 
the prob with integrating qpkg with emerge is we start to run out of cmdline opts ... 
then they get more obscure and it kinda becomes a pain ... 
 
oh and you can do `qpkg -fp '*libhist*'` 
Comment 5 Charles Goodwin 2003-12-14 15:18:42 UTC
Something for portage-ng methinks.