Portupgrade -af question

Kris Kennaway kris at obsecurity.org
Wed Oct 27 07:06:03 PDT 2004


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 
> >just a single processor Pentium III system. Shouldn't it be faster to let 
> >portupgrade use pre-compiled packages (either from a 5.3-RELEASE install 
> >CD or from a remote site)? Something like: 'portupgrade -afP' ? Would it 
> >work? This would save a lot of time... a lot of down-time, in fact.
> 
> 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.
> 
> This is the case because portupgrade -P searches for packages locally or 
> wherever PKG_PATH points to, tries to use pkg_fetch and then falls back to 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041027/2baa5acc/attachment.bin


More information about the freebsd-current mailing list