1 |
On Fri, 30 Nov 2007 06:40:17 -0600 |
2 |
Dale wrote: |
3 |
|
4 |
> David Relson wrote: |
5 |
> > On Fri, 30 Nov 2007 07:52:03 +0100 |
6 |
> > Marc Joliet wrote: |
7 |
> > |
8 |
> > ..[snip].. |
9 |
> > |
10 |
> > |
11 |
> >> Relevant snip from the manpage: |
12 |
> >> |
13 |
> >> depends <local-opts> pkgspec |
14 |
> >> This command displays all dependencies matching |
15 |
> >> pkgspec. <local-opts> is either or both of: |
16 |
> >> -a, --all-packages search in all available packages |
17 |
> >> (slow) -d, --direct search direct dependencies only (default) |
18 |
> >> -D, --indirect search indirect dependencies (very |
19 |
> >> slow) --depth=n Limit depth of indirect dependency tree to n |
20 |
> >> levels. Setting --depth=0 is the same as not specifing --indirect. |
21 |
> >> |
22 |
> >> So "equery depends" expects a package name, not a file name. What |
23 |
> >> exactly are you trying to do? |
24 |
> >> |
25 |
> >> -- |
26 |
> >> Marc Joliet |
27 |
> >> |
28 |
> > |
29 |
> > Hello Marc, |
30 |
> > |
31 |
> > Right you are, I was using the wrong command. |
32 |
> > |
33 |
> > If I recall, last night I wanted to find which package _provides_ a |
34 |
> > given file. Obviously the file in my sample, |
35 |
> > i.e. /etc/init.d/samba, is from net-fs/samba but the general |
36 |
> > question remains: How does one find the package from which a file |
37 |
> > came? |
38 |
> > |
39 |
> > Regards, |
40 |
> > |
41 |
> > David |
42 |
> > |
43 |
> |
44 |
> equery belongs <file name> |
45 |
> |
46 |
> That help? |
47 |
> |
48 |
> Dale |
49 |
|
50 |
Indeed it does! |
51 |
|
52 |
Thanks, Dale. |
53 |
-- |
54 |
gentoo-user@g.o mailing list |