Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 07:07:05 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Andre Guibert de Bruet <andy@siliconlandmark.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Portupgrade -af question
Message-ID:  <20041027140705.GA26376@xor.obsecurity.org>
In-Reply-To: <20041027003640.K42571@alpha.siliconlandmark.com>
References:  <BAY2-DAV100Bqhk6KR800012731@hotmail.com> <20041027003640.K42571@alpha.siliconlandmark.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 27, 2004 at 12:48:52AM -0400, Andre Guibert de Bruet wrote:

> >installed ports. But this would take a whole day, especially since it's=
=20
> >just a single processor Pentium III system. Shouldn't it be faster to le=
t=20
> >portupgrade use pre-compiled packages (either from a 5.3-RELEASE install=
=20
> >CD or from a remote site)? Something like: 'portupgrade -afP' ? Would it=
=20
> >work? This would save a lot of time... a lot of down-time, in fact.
>=20
> This is guaranteed to work if:
> - Your ports skeleton is up to date.
> - This machine has HTTP and FTP access enabled.
> - The ports you are upgrading are not forbidden, deprecated or broken.
> - All distfiles are available from at least one of the relevant mirrors.
>=20
> This is the case because portupgrade -P searches for packages locally or=
=20
> wherever PKG_PATH points to, tries to use pkg_fetch and then falls back t=
o=20
> updating from ports if precompiled packages are not available.

Also, if you're using non-default compile options for ports
(e.g. setting WITH_*/WITHOUT_* or other control variables), you won't
get this if you update with the package (which are built with default
options).

Kris

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBf6uIWry0BWjoQKURAjGlAKD+Ix8wunF/pDS8fYqnQO73bWWKzwCgltBq
ZC9plkIx3qg8v8bkLh2G6V4=
=e6l1
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--



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