Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2007 22:56:44 +0100
From:      "Alexander Lamaison" <awl03@doc.ic.ac.uk>
To:        "'Remko Lodder'" <remko@FreeBSD.org>
Cc:        doc@FreeBSD.org
Subject:   RE: Possible typo - portsnap
Message-ID:  <000001c7ef3e$7ca77ab0$75f67010$@ic.ac.uk>
In-Reply-To: <46DDCF2E.9000600@FreeBSD.org>
References:  <003f01c7ef30$522b0c10$f6812430$@ic.ac.uk> <46DDCF2E.9000600@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Oh sorry :P  I should probably have mentioned, I'm running 5.4-REALEASE.  If
I run pkg_version -vIL= I get:

pkg_version: illegal option -- I
usage: pkg_version [-hv] [-l limchar] [-L limchar] [[-X] -s string] index
       pkg_version -t v1 v2
       pkg_version -T name pattern

If I remove the -I it does the job but, presumably, without the speedup.  I
guess this means the -I flag was added in 6.  My bad.

Alex

-----Original Message-----
From: Remko Lodder [mailto:remko@FreeBSD.org] 
Sent: 04 September 2007 22:34
To: Alexander Lamaison
Cc: doc@FreeBSD.org
Subject: Re: Possible typo - portsnap

Alexander Lamaison wrote:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html
> 
> At the bottom of this page part of the command is given as 
>     pkg_version -vIL=
> but apparently pkg_version has no -I option.
> 
> HTH
> Alex
> 

Hello Alex,

First of all thank you for taking the time to report this and using
FreeBSD, we really appriciate the time and effort taken.

However, pkg_version has the -I option which does the following:

     -I      Use only the index file for determining if a package is out of
             date.  This is much faster than using the version number from a
             port's Makefile, at the expense of potentially giving an incor-
             rect result if the index file is out of date.


at least on my rather recent 6-STABLE :-)

When I run pkg_version -vIL= i get the response that one would
expect. Are you sure you are running a recent version of the
application? Can you share some details with us to see what the
problem might be?

Thanks!

Cheers
remko

-- 
Kind regards,

     Remko Lodder               ** remko@elvandar.org
     FreeBSD                    ** remko@FreeBSD.org

     /* Quis custodiet ipsos custodes */




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c7ef3e$7ca77ab0$75f67010$>