On 25 May 2012 12:10, Gary Aitken <freebsd@drea...> wrote:
> Has to be something stupid:
> 347 /usr/ports#pkg_version -v | grep updating
> p5-XML-Twig-3.39 < needs updating (port has 3.40)
> 348 /usr/ports#portupgrade -Rv P5-XML-Twig
> ---> Session started at: Fri, 25 May 2012 10:03:54 -0600
> [Exclude up-to-date packages done]
> ** None has been installed or upgraded.
> ---> Session ended at: Fri, 25 May 2012 10:03:54 -0600 (consumed 00:00:00)
> 350 /usr/ports#pkg_info | grep p5-XML-Twig
> p5-XML-Twig-3.39 Process huge XML documents by chunks via a tree
give different results? (note that's an uppercase "i" followed by a
lowercase "L" in case your screen font makes it hard to tell)
I believe portupgrade uses the INDEX-* files to determine, whereas
pkg_version uses the /usr/ports/*/*/distinfo file (unless -I is provided).