Date: Sat, 31 May 2014 13:54:34 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-pkg@freebsd.org Subject: Re: Dependency graph? Message-ID: <5389D10A.9010608@infracaninophile.co.uk> In-Reply-To: <20140531122127.GA4538@admin.sibptus.tomsk.ru> References: <20140531065218.GB169@admin.sibptus.tomsk.ru> <538991E0.5000902@FreeBSD.org> <20140531122127.GA4538@admin.sibptus.tomsk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 displa= y >>> 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 wit= h >>> 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 que= ry' >=20 > To my knowledge, 'pkg query' works with the locally installed packages.= =20 > Can it really query a remote repository, and if yes, could you please g= ive an > example query? >=20 > 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 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTidERXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATUFMP/13fZVGOwBYFuXe86BNKYSJ5 YVQQx04W1G3K4NlRr88i8qZ9NSDazvUxcNRDs3RHWqUx/F8W8AJGZjspLh8GYolt fy960yYXs8G3bhXcfFtdcwg6hyk6SIzZz0clkobEV6P5KSJVfWX2x+Wo+nFgufF5 a/MaeN+62EK0Z31OWMJbSziBlnrFvZ0DCvKKe1nvPxcxT5odzM1O9iQG5RGkPsch 1c1usew34RD5Cy1QiuDke9D+dgrY/sdu7Vrlv9RH5ZcKp8516Jee7Th/BqwMfJ1s q6Eh+nMgFfof52aAaIXOjmPsm0Igl75kuJNP7ur18/NAOpgaZcxHIbXsCcBh/mCJ BY+BsyJOv1+UFkavHvgZvUBbRUSqRhYeYc/T1W86l0vE1Fqqn/jd/lFBGFZsguPO L8LSg1biZ8VdCzF/vpe43IMrLe+4gsbHZGgnOhOE+AJHO5kI4WbOe1573nw6E/Wf Y7nOcIqxa2gnytCj2QHHtdrE0Njb5aJxSWFq7b6ZRskI6J0/LWMyiMBsc5+6bjnw kz6njVUcDlzI4v2S8s4tM1ETj6pp1l11ekOvwPoTkpyD+0WzjIqRgwyo3uu0HMaq mGnXIq3EVYjYXosvCNjhSBzMX2MV4S0oFff54tFF4CiAWXyzpMTRATt1skd89Fpl A7bquNDs57nSdGf93is9 =go1h -----END PGP SIGNATURE----- --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5389D10A.9010608>