From owner-freebsd-doc@FreeBSD.ORG Tue Sep 4 21:56:42 2007 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A5DB16A421 for ; Tue, 4 Sep 2007 21:56:42 +0000 (UTC) (envelope-from awl03@doc.ic.ac.uk) Received: from finch.doc.ic.ac.uk (finch.doc.ic.ac.uk [146.169.1.194]) by mx1.freebsd.org (Postfix) with ESMTP id 51A8C13C474 for ; Tue, 4 Sep 2007 21:56:42 +0000 (UTC) (envelope-from awl03@doc.ic.ac.uk) Received: from 84-51-135-118.alexan082.adsl.metronet.co.uk ([84.51.135.118] helo=padd) by finch.doc.ic.ac.uk with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.63) (envelope-from ) id 1ISgO1-0002vW-1F; Tue, 04 Sep 2007 22:56:41 +0100 From: "Alexander Lamaison" To: "'Remko Lodder'" References: <003f01c7ef30$522b0c10$f6812430$@ic.ac.uk> <46DDCF2E.9000600@FreeBSD.org> In-Reply-To: <46DDCF2E.9000600@FreeBSD.org> Date: Tue, 4 Sep 2007 22:56:44 +0100 Organization: Imperial College London Message-ID: <000001c7ef3e$7ca77ab0$75f67010$@ic.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcfvOysvlAxR4fLQQMWSviZUKq0iwAAAdidw Content-Language: en-gb X-ICDoC-Trusted: YES X-BrightMail-Verdict: X-BrightMail-Tracker: X-Spam-Flag: NO X-Spam-Level: Cc: doc@FreeBSD.org Subject: RE: Possible typo - portsnap X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 21:56:42 -0000 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 */