1 |
Am Thu, 29 Nov 2007 23:13:10 -0500 |
2 |
schrieb David Relson <relson@×××××××××××××.com>: |
3 |
|
4 |
> |
5 |
> |
6 |
> $$$ equery depends /etc/init.d/samba |
7 |
> |
8 |
> [ Searching for packages depending on /etc/init.d/samba... ] |
9 |
> !!! Invalid db entry: /var/db/pkg//app-misc |
10 |
> !!! Invalid db entry: /var/db/pkg//dev-perl |
11 |
> !!! Invalid db entry: /var/db/pkg//app-crypt |
12 |
> !!! Invalid db entry: /var/db/pkg//virtual |
13 |
> !!! Invalid db entry: /var/db/pkg//dev-util |
14 |
> !!! Invalid db entry: /var/db/pkg//sys-devel |
15 |
> !!! Invalid db entry: /var/db/pkg//sys-libs |
16 |
> !!! Invalid db entry: /var/db/pkg//dev-libs |
17 |
> !!! Invalid db entry: /var/db/pkg//app-admin |
18 |
> |
19 |
> |
20 |
> Any thoughts why equery is complaining? |
21 |
> |
22 |
> As an experiment I ran eix-update to try to clear up the problem, but |
23 |
> it didn't have any effect. |
24 |
> |
25 |
> Regards, |
26 |
> |
27 |
> David |
28 |
> |
29 |
|
30 |
Relevant snip from the manpage: |
31 |
|
32 |
depends <local-opts> pkgspec |
33 |
This command displays all dependencies matching pkgspec. |
34 |
<local-opts> is either or both of: |
35 |
-a, --all-packages search in all available packages (slow) |
36 |
-d, --direct search direct dependencies only (default) |
37 |
-D, --indirect search indirect dependencies (very slow) |
38 |
--depth=n Limit depth of indirect dependency tree to n |
39 |
levels. Setting --depth=0 is the same as not specifing --indirect. |
40 |
|
41 |
So "equery depends" expects a package name, not a file name. What |
42 |
exactly are you trying to do? |
43 |
|
44 |
-- |
45 |
Marc Joliet |
46 |
-- |
47 |
"People who think they know everything really annoy those of us who |
48 |
know we don't" - Bjarne Stroustrup |