Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 14:05:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Adam McLaurin <blueeskimo@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ports Installed Are Newer Than Tree?
Message-ID:  <20030828190510.GA29750@dan.emsphone.com>
In-Reply-To: <1062097184.57902.61.camel@jake>
References:  <1062086767.35417.6.camel@farmer.lc.ca.gov> <1062097184.57902.61.camel@jake>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 28), Adam McLaurin said:
> On Thu, 2003-08-28 at 14:35, Drew Tomlinson wrote:
> > It seems that the ports I have installed on my system are newer than the
> > ones in the ports tree.  If I run portversion, I get output that looks
> > like this:
> > 
> > farmer# portversion -v -L=
> > XFree86-Server-4.3.0_6      >  succeeds port (port has 4.3.0_5)
> > cdrtools-2.0_1              >  succeeds port (port has 2.0)
> > gconf-1.0.9_3               >  succeeds port (port has 1.0.9_2)
> > gdm2-2.4.1.4                >  succeeds port (port has 2.4.1.3_1)
> > gnomegames2-2.2.1_1         >  succeeds port (port has 2.2.1)
> > 
> > And the list goes on.  I've updated my ports tree using cvsup and it
> > finishes successfully.  I've also run portsdb -uU to update the indexes
> > however the problem persists.
> > 
> > I'm stumped and don't know what else to check.  Any ideas?  I'm running
> > 4.8.
> 
> Double-check that you only have one copy of these ports installed. I've
> seen this problem before, only to discover multiple copies of the same
> port were installed. Some 'pkgdb -F' might be in order here ..
> 
> Also, I'd recommend 'make index' from /usr/ports instead of using
> 'portsdb -U'. Much more reliable!

I just use pkg_version -vL=, which doesn't use the index, but can get
slow if you have hundreds of ports installed.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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