Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2006 00:15:22 +0000
From:      Richard Collyer <richard@firebadger.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg_version reporting wrong values
Message-ID:  <4591BB1A.4080302@firebadger.net>
In-Reply-To: <4591B376.20307@firebadger.net>
References:  <4591B376.20307@firebadger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Collyer wrote:
> Hello,
> 
> When i do pkg_version -v it reports the wrong values.
> 
> e.g. glib-2.10.3     <   needs updating (port has 2.12.6)
> 
> Now the versions are correct but if I upgrade that port it still thinks 
> that 2.10.3 is installed
> 
> The last line of the install text
> 
> ===>   Registering installation for glib-2.12.6
> 
> I've done some googling and portupgrade -f seems to come up but I'm not 
> 100% sure what this does
> 
> 
> Is there a command to rebuild the database to the correct version?

Ok. I'm stupid.

Don't run pkg_version -v | grep "<" as you cant see when 2 versions have 
been installed

Cheers
Richard



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