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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC