pkgng vs. portupgrade reporting ports outdated

Warren Block wblock at wonkity.com
Sat Apr 5 02:23:01 UTC 2014


On Fri, 4 Apr 2014, sindrome wrote:

> There is a major inconsistency with what pkg_version -v says is 
> outdated and what pkgng says.

Of course.  pkg_version looks at the text files in /var/db/pkg, while 
pkg looks at the database local.sqlite in that directory.  The first 
step in using pkg is running pkg2ng, which imports the old information 
from the text files into the sqlite table.  After that, pkg_version 
should not be used.  It's getting information from an outdated database.


More information about the freebsd-ports mailing list