看板 FB_doc 關於我們 聯絡資訊
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 */ _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"