Is it possible to get pkg_info, or some other command, to show what
package contains a file?
E.g. find what package has /usr/local/bin/convert
Casey
___
freebsd-questions@freebsd.org mailing list
In the last episode (Jun 22), Casey Scott said:
Is it possible to get pkg_info, or some other command, to show what
package contains a file?
E.g. find what package has /usr/local/bin/convert
pkg_info -W /usr/local/bin/convert
Or if you have portupgrade installed, pkg_which
Sorry, I meant I need to know what package a file belongs to that does not
exist in the file system already. I need to know where to get something,
not where it came from.
In the last episode (Jun 22), Casey Scott said:
Is it possible to get pkg_info, or some other command, to show what
Casey Scott wrote:
Sorry, I meant I need to know what package a file belongs to that does not
exist in the file system already. I need to know where to get something,
not where it came from.
My CVSup script executes
find /usr/ports -name pkg-plist* /path/to/somewhere
after an update of
Thanks. Good idea. How about this, its a little easier.
#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'
Casey
Casey Scott wrote:
Sorry, I meant I need to know what package a file belongs to that does
not
exist in the file system already. I need to know where to get something,
not
On Wed, June 22, 2005 2:13 pm, Björn König said:
Thus I can search a file with
cat /path/to/somewhere | xargs grep 'pattern'
You can avoid wasting a process by using the following instead:
xargs grep 'pattern' /path/to/somewhere
Jim
--
Jim Trigg, Lord High Everything Else O- /\
Casey Scott wrote:
Thanks. Good idea. How about this, its a little easier.
#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'
Yes, it is easier if you do this only once. I do it several times and I
want to benefit from a previous search. What is faster: to find more
than 10.000
Jim Trigg wrote:
On Wed, June 22, 2005 2:13 pm, Björn König said:
Thus I can search a file with
cat /path/to/somewhere | xargs grep 'pattern'
You can avoid wasting a process by using the following instead:
xargs grep 'pattern' /path/to/somewhere
Thanks. Where is my UUOC award? ;-)
On 01/12/05 06:01 PM, Kris Kennaway sat at the `puter and typed:
On Wed, Jan 12, 2005 at 08:45:30PM -0500, Louis LeBlanc wrote:
Hey folks. I'm trying to make a cruft killing run through my
installed packages.
What would make this a lot easier is if I could easily get a list of
Hey folks. I'm trying to make a cruft killing run through my
installed packages.
What would make this a lot easier is if I could easily get a list of
packages that are installed that are NOT required by other packages.
I know that `pkg_info -aR` will give me all packages along with those
that
On Wed, Jan 12, 2005 at 08:45:30PM -0500, Louis LeBlanc wrote:
Hey folks. I'm trying to make a cruft killing run through my
installed packages.
What would make this a lot easier is if I could easily get a list of
packages that are installed that are NOT required by other packages.
I know
11 matches
Mail list logo