Re: Re: emege query
Grant Goodyear <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <[email protected]> |
> > > Is there any way to query the portage database about what > > > package a particular file or directory is associcated with? > > > Something like the equivalent of 'rpm -qf' ? > > > > install gentoolkit, then invoke "qpkg -f FILE" > > > > is there anything, like a website or something, where I could do such > things for packages which are not yet installed? I'm afraid that there isn't. The reason is that your packages could well comprise different files than mine. For example, suppose you compiled your favorite editor w/ "X" in USE, while I was building a server so I decided I didn't need "X". The result is that when you install your editor you will install several files that I don't, even though we've both (nominally) installed the same program. Assuming a rough average of three USE flags per package that can each be set or unset and now we would have to store an average of _eight_ different CONTENTS files for each package, indexed by USE flags, that we would have to search through. It's not an impossible task, but nobody has come forward to tackle it just yet. > "what do I need to emerge to get the 'dig' program" > (which is a question that puzzles me right now) Either bind or bind-tools will get "dig" for you. You'll want the latter if you don't plan to run a BIND nameserver on your machine. -g2boojum-
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9mIzCptxxUuD2W3YRAsSZAJ9ZM230TZ2+WPrA/xlEPtw+rEmbBgCeOBkg AqVDqbl1CmdzF5bQG+qrLWQ= =WESV -----END PGP SIGNATURE-----