Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 14:36:25 +0000
From:      RW <>
Subject:   Re: portversion vs. pkg_version
Message-ID:  <>
In-Reply-To: <>
References:  <>

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" <> 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

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: <>