From owner-freebsd-questions Wed May 15 15:23:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 85C5037B408 for ; Wed, 15 May 2002 15:23:44 -0700 (PDT) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.6/8.11.6) with ESMTP id g4FMNhL29981 for ; Thu, 16 May 2002 00:23:43 +0200 (CEST) Received: from falcon.midgard.homeip.net (h53n2fls20o913.telia.com [212.181.163.53]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id AAA20587 for ; Thu, 16 May 2002 00:23:42 +0200 (CEST) Received: (qmail 23525 invoked by uid 1001); 15 May 2002 22:23:42 -0000 Date: Thu, 16 May 2002 00:23:42 +0200 From: Erik Trulsson To: "S. Roberts" Cc: FreeBSD-Questions Subject: Re: pkg_version -v returns: succeeds port for pdksh-5.2.14 Message-ID: <20020515222341.GA23483@student.uu.se> Mail-Followup-To: "S. Roberts" , FreeBSD-Questions References: <1021497989.41001.27.camel@Demon.Strobe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1021497989.41001.27.camel@Demon.Strobe.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 15, 2002 at 10:26:29PM +0100, S. Roberts wrote: > Hi There, > Strange one here for me. > > I've just cvsup'd my ports tree and then ran pkg_version -v and got this > for one of my installed ports: > > pdksh-5.2.14 > succeeds port (port has 5.2.14.p2) > > Never seen that before! Could someone who know more about this give an > explanation, please? Man pkg_version says this about that string result: > > > The installed version of the package is newer than the current > version.This situation can arise with an out-of-date index file, or > when testing new ports. > > Taking both explanations for this case: > 1] I always run portsdb -Uu after cvsup'ing the ports tree, I wouldn't > have thought that my Index file was out-of-date. > 2] Not sure about the "testing nrew ports" either, I'm not (oknowingly) > actively testing new ports. > > Suggestions? Nothing to worry about. The problem is simply that the version number for the newest version of the pdksh port (5.2.14.p2) is counted as "older" than the old version number (5.2.14) by pkg_version. So the bug is in the version number given to the latest update of the pdksh port and not in anything you did. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message