Am Thu, 29 Nov 2007 23:13:10 -0500
schrieb David Relson <[EMAIL PROTECTED]>:

> 
> 
> $$$ equery depends /etc/init.d/samba
> 
> [ Searching for packages depending on /etc/init.d/samba... ]
> !!! Invalid db entry: /var/db/pkg//app-misc
> !!! Invalid db entry: /var/db/pkg//dev-perl
> !!! Invalid db entry: /var/db/pkg//app-crypt
> !!! Invalid db entry: /var/db/pkg//virtual
> !!! Invalid db entry: /var/db/pkg//dev-util
> !!! Invalid db entry: /var/db/pkg//sys-devel
> !!! Invalid db entry: /var/db/pkg//sys-libs
> !!! Invalid db entry: /var/db/pkg//dev-libs
> !!! Invalid db entry: /var/db/pkg//app-admin
> 
> 
> Any thoughts why equery is complaining?  
> 
> As an experiment I ran eix-update to try to clear up the problem, but
> it didn't have any effect.
> 
> Regards,
> 
> David
> 

Relevant snip from the manpage:

depends <local-opts> pkgspec
              This command displays all dependencies matching pkgspec.
              <local-opts> is either or both of:
              -a, --all-packages search in all available packages (slow)
              -d, --direct search direct dependencies only (default)
              -D, --indirect search indirect dependencies (very slow)
              --depth=n Limit depth of indirect dependency tree to n
levels. Setting --depth=0 is the same as not specifing --indirect.

So "equery depends" expects a package name, not a file name. What
exactly are you trying to do?

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who
know we don't" - Bjarne Stroustrup

Attachment: signature.asc
Description: PGP signature

Reply via email to