Dependency graph?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat May 31 12:54:48 UTC 2014
On 31/05/2014 13:21, Victor Sudakov wrote:
> Matthew Seaman wrote:
>>> Sometimes you attempt to "pkg install" a simple package and find out
>>> that it attempts to install a load of crap (like X libraries) because of
>>> some obscure dependency.
>>>
>>> Is there a tool that would analyze the repository metadata and display
>>> a dependency tree for a package?
>>>
>>> All the necessary dependency information is already in the repository
>>> in JSON (?) or sqlite format, perhaps someone has already come up with
>>> a script to display that?
>>
>> Not to my knowledge. Generating output suitable for feeding into dot
>> should be pretty easy, just based on processing the output of 'pkg query'
>
> To my knowledge, 'pkg query' works with the locally installed packages.
> Can it really query a remote repository, and if yes, could you please give an
> example query?
>
> When I issue 'pkg query %do some_package_not_installed_locally', it
> returns an empty result.
pkg rquery is what I should have said.
Apologies,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20140531/ade71c9b/attachment.sig>
More information about the freebsd-pkg
mailing list