From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 06:53:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A211940E for ; Fri, 11 Apr 2014 06:53:30 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48E351C71 for ; Fri, 11 Apr 2014 06:53:30 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s3B6rMUY074781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 11 Apr 2014 07:53:24 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s3B6rMUY074781 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1397199204; bh=2jOx1idErI6JARJ/Af4Tkew5BNuevxHAc80+zOpjiw8=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2011=20Apr=202014=2007:53:10=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20FreeBSD=20Handbook,=20upgrading=2 0ports=20incorrect=20with=2010.0-RELEASE?|References:=20<534520DE. 5060005@relst.nl>=20<534565E9.8080109@relst.nl>=20<0558889B-6B6C-4 0E2-95DD-70DDA98B51F4@gmail.com>=20<4634538.SMM6loVsS1@amd.asgard. uk>|In-Reply-To:=20<4634538.SMM6loVsS1@amd.asgard.uk>; b=YfmHrYEuWeRM6jctsDo1rUQ6Xweu2WU+vUmHy8DpzHcxXiwHtkyozSoO6t5Ww+g9a lrX4HvNa4KUpgElptHkAKOe1HCF4cOcLbozOLprCVTqbxKa4sOKeP5FwSA/1i7Swq9 3h2depvAESlj8xueQywE4ZwVAbMy9B8HL7rAzIZQ= Message-ID: <53479156.3090008@infracaninophile.co.uk> Date: Fri, 11 Apr 2014 07:53:10 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Handbook, upgrading ports incorrect with 10.0-RELEASE? References: <534520DE.5060005@relst.nl> <534565E9.8080109@relst.nl> <0558889B-6B6C-40E2-95DD-70DDA98B51F4@gmail.com> <4634538.SMM6loVsS1@amd.asgard.uk> In-Reply-To: <4634538.SMM6loVsS1@amd.asgard.uk> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o3BBlObntxH963P7UXFsaCR02duQHJKQ5" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 06:53:30 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --o3BBlObntxH963P7UXFsaCR02duQHJKQ5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/04/2014 22:49, dgmm wrote: > On Wednesday 09 April 2014 10:52:57 Matthew Pherigo wrote: >> > So you really want just to see the versions, and then you upgrade th= em by >> > hand. In that case, the correct option would indeed be "pkg version"= =2E > pkg version is so sloooooow >=20 > I use portversion from portupgrade package. It's much, much faster. >=20 > portversion -l \< >=20 > or >=20 > portversion -L =3D It's only slow in '-P' mode -- comparing directly against the ports tree. If you use '-I' (compare against the ports index) or '-R' (compare against what is available from pkgrepos) then you will find pkg(8) much faster. pkg version will default to '-P' mode *if* it detects a valid ports tree, and failing that will use '-R' mode. I'm not convinced that is the best set of defaults that could have been chosen. pkg_version by contrast defaults to '-I' mode. Personally, I recommend always using on of -P, -I or -R on your pkg version command line explicitly. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --o3BBlObntxH963P7UXFsaCR02duQHJKQ5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTR5FeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATPQkP/jXQu0X+vscjVZysq8X40yw3 k3xBX1bQ7lovpIUfO1yZJgx2Gx3GeRl2Puz0G5WsozzZz2AmTAOGBeN5Sbe8WsgZ q9sEktCxBaDIT8lUQHnJNCc+r3Tg3T7oQ6UIKcwWoHKGPLHwjnHXIORPZc8xS1YQ LOpplgfgN5mfSCVAXhvSBFwoqy+V+lWhPMEbiym/jr8chKd/z7LdOCbscFv1VdHa MBcxA8BxB2P5kIkNr8dCEDn6aFXHeEknbVuvMPlkO4d2sJjAyQSxfQsnDds0ff5Y ycl1Iyiw8LPLyoiB796Iqm4Dydj4pxdy0GDOqsF7a0NacrGM5fOgXoXH9VkwCSCe DcNc3wT7x6AiL16yDuEROofd4g8QmjMGpxaDnGiuwbwe+lx9W8Xgci319Ag8I4MZ +XvD3pLUd3uuVAesBFNSMVa0HsS2kSslYHiDdX2onR8hjxUb9ht9xIgALutr/JVR B97GM3Y/VQrdDC6YSJ8yoLsHyHMAJ1fgNOFCp2ap2nbpT/OXq+9Z+Pa1blStR1+4 gWYecR2P+FhXDS8hkFGxs+RgB49JhAEodxZZdy70OL4lnMqKAR4Jrv8Kg6C1gne6 geQ0RVhOhiJa3K3xHMMhV7DX9S/4fD9hQqYZ3mm75kRPUuEziXHRF3ucnp4bzlus GSCjSKWaLfJsK0Juy+w3 =/bbw -----END PGP SIGNATURE----- --o3BBlObntxH963P7UXFsaCR02duQHJKQ5--