public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Relson <relson@osagesoftware.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] equery depends ----> Invalid db entry:
Date: Fri, 30 Nov 2007 07:50:40 -0500	[thread overview]
Message-ID: <20071130075040.4c72e435@osage.osagesoftware.com> (raw)
In-Reply-To: <475004B1.9080504@bellsouth.net>

On Fri, 30 Nov 2007 06:40:17 -0600
Dale wrote:

> David Relson wrote:
> > 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
> >   
> 
> equery belongs <file name>
> 
> That help?
> 
> Dale

Indeed it does!

Thanks, Dale.
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-11-30 12:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30  4:13 [gentoo-user] equery depends ----> Invalid db entry: David Relson
2007-11-30  5:58 ` ezotrank
2007-11-30  6:52 ` Marc Joliet
2007-11-30 12:29   ` David Relson
2007-11-30 12:40     ` Dale
2007-11-30 12:50       ` David Relson [this message]
2007-11-30 21:50       ` Neil Bothwick
2007-11-30 22:49         ` Stroller
2007-11-30 23:48           ` Neil Bothwick
2007-11-30 22:54         ` David Relson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071130075040.4c72e435@osage.osagesoftware.com \
    --to=relson@osagesoftware.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox