How to review pkgng remote dir tree for package names

Matthew Seaman matthew at FreeBSD.org
Sun Apr 20 15:54:40 UTC 2014


On 20/04/2014 16:16, Fbsd8 wrote:
> Now that pkgng is on the road to becoming the default package method,
> need a way to scroll through the online pkg.freebsd.org pkg directory
> tree to locate packages that have new names.
> 
> I tried ftp to   http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/
> but don't think it likes "anonymous" login.
> 
> What is the preferable method of manual review.

You're thinking about it all wrong.  pkg(8) already downloads the
repository catalogue to your local machine.  So you don't need to
connect to the pkg servers to hunt for information about packages --
just about everything that is available to know is already on your local
machine.

Read the pkg-search(8) and pkg-rquery(8) man pages.  pkg-search(8) is
meant to be the human-friendly manual interface, while pkg-rquery(8) is
intended for scripting use, but of course, you can use them in either
role as it suits you.

Pkg do not record historic data -- just what they needed at the point of
being built.  The best resource for tracking packages that get renamed
or deleted is still the MOVED file in ports.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- 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-questions/attachments/20140420/0cef69bd/attachment.sig>


More information about the freebsd-questions mailing list