Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 07:53:10 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD Handbook, upgrading ports incorrect with 10.0-RELEASE?
Message-ID:  <53479156.3090008@infracaninophile.co.uk>
In-Reply-To: <4634538.SMM6loVsS1@amd.asgard.uk>
References:  <534520DE.5060005@relst.nl> <534565E9.8080109@relst.nl> <0558889B-6B6C-40E2-95DD-70DDA98B51F4@gmail.com> <4634538.SMM6loVsS1@amd.asgard.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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