Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 14:36:25 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portversion vs. pkg_version
Message-ID:  <20061224143625.0d78c901@gumby.homeunix.com>
In-Reply-To: <20061224054239.GA4470@lgj.amnesia.net>
References:  <20061224054239.GA4470@lgj.amnesia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Dec 2006 13:42:39 +0800
"Edward G.J. Lee" <edt1023@ms17.hinet.net> wrote:

> Hi all,
> 
>   What's the difference between `portversion' and `pkg_version -I'?
> 
>

Probably not much. pkg_version is part of the base-system, portversion
is one of the portupgrade package tools. Since portversion was created,
pkg_version has I think acquired some new features blurring the
distinction.

Personally, I don't like to get version information from the INDEX
file, I'd rather get an accurate answer, than a fast one. Another
reason I don't like portversion is that it's forever asking me to run
pkgdb. Aside from being a pain, it makes portversion unsuitable for use
in scripts.



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