Ports Installed Are Newer Than Tree?
Dan Nelson
dnelson at allantgroup.com
Thu Aug 28 12:05:11 PDT 2003
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 at allantgroup.com
More information about the freebsd-questions
mailing list