pkg_info and an active /usr/ports is slow

Chris Brennan xaero at
Sun Dec 26 16:13:49 UTC 2010

On Sun, Dec 26, 2010 at 10:42 AM, Chris Telting
<christopher-ml at>wrote:

> Just wondering about the interaction of pkg_info (no args) and having a
> ports directory.
> Without it it's blazing fast, with it it is just slow and sometimes just
> breaks during the listing.
> There is nothing in the man page about it reading the ports directory or
> why it would want or need to.
> Most importantly there is no command line option to skip it.
> Thanks Chris

IIRC pkg_* checks a database that tools such as portupgrade utilize and this
could slow things down. But I am not 100% sure.


More information about the freebsd-questions mailing list