Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 20:22:58 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        sindrome <sindrome@gmail.com>
Cc:        ports@freebsd.org, 'Robert Huff' <roberthuff@rcn.com>
Subject:   RE: pkgng vs. portupgrade reporting ports outdated
Message-ID:  <alpine.BSF.2.00.1404042016530.42337@wonkity.com>
In-Reply-To: <000601cf505e$d3b6bc70$7b243550$@gmail.com>
References:  <533F36F0.8020803@rcn.com> <000601cf505e$d3b6bc70$7b243550$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1404042016530.42337>