On Fri, 30 Nov 2007 07:52:03 +0100
Marc Joliet wrote:

..[snip]..
 
> 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

Hello Marc,

Right you are, I was using the wrong command.  

If I recall, last night I wanted to find which package _provides_ a
given file.  Obviously the file in my sample, i.e. /etc/init.d/samba,
is from net-fs/samba but the general question remains:  How does one
find the package from which a file came?

Regards,

David
-- 
[EMAIL PROTECTED] mailing list

Reply via email to