Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Mar 2001 06:29:14 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Don Read <dread@texas.net>
Cc:        Martti Kuparinen <martti.kuparinen@nomadiclab.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Different output from pkg_version 
Message-ID:  <200103051429.f25ETMZ09066@cwsys.cwsent.com>
In-Reply-To: Your message of "Sun, 04 Mar 2001 16:02:38 CST." <XFMail.010304160238.dread@texas.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.010304160238.dread@texas.net>, Don Read writes:
> 
> On 04-Mar-01 Martti Kuparinen wrote:
> > Hi!
> > 
> > Does anyone know a reason for the difference in the following outputs:
> > 
> <snip>
> > ROOT ws3:~> pkg_version -v | grep bash
> > bash-2.04                   =   up-to-date with port
> >                            ~~~~~~~~~~~~~~~~~~~~~~~~~
> <snipagain>
>  
> > ROOT server:~> pkg_version -v | grep bash
> > bash-2.04                   *   multiple versions (index has 1.14.7,2.04)
> >                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>        ^^^^                       ^^^^^^^^^^^^^^^^^^          ^^^^^^^^^^^^
> 
> pkg_version is telling you that the INDEX does not match exactly what's 
> installed.
> 
> If you want out of date ports, use pkg_version -vl"<"

Not entirely true.  pkg_version -vl"*" also tells you that because 
there are multiple versions in the INDEX, it is confused, e.g. it 
doesn't know which version of the port in the INDEX to compare the 
installed version number with, and that you need to manually verify 
that the listed ports are up to date.  You need to have pkg_version 
check for both "<" and "*".


Regards,                         Phone:  (250)387-8437
Cy Schubert                        Fax:  (250)387-5766
Team Leader, Sun/Alpha Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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