Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5000 - integrate qpkg functionality into emerge
Summary: integrate qpkg functionality into emerge
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: Lowest enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-14 16:58 UTC by Mike Roest
Modified: 2011-10-30 22:37 UTC (History)
5 users (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 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.