Date: Thu, 18 Dec 2008 17:12:03 +0000 From: "Daniel Bye" <danielby@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: portsnap and portupgrade Message-ID: <20081218171203.GG5150@torus.slightlystrange.org> In-Reply-To: <Pine.GSO.4.63.0812181635090.12036@hmacs.cmi.ua.ac.be> References: <20081218151324.698ccb72@gumby.homeunix.com> <Pine.GSO.4.63.0812181635090.12036@hmacs.cmi.ua.ac.be>
next in thread | previous in thread | raw e-mail | index | archive | help
--e5GLnnZ8mDMEwH4V Content-Type: multipart/mixed; boundary="zhtSGe8h3+lMyY1M" Content-Disposition: inline --zhtSGe8h3+lMyY1M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: > >Portsnap doesn't know about anything in the ports tree that it didn't > >put there itself. For that reason it needs to bring the tree to an > >initial known-state by replacing all port directories and other > >files. For the same reason you shouldn't mix portsnap and c[v]sup. >=20 > So, do you confirm my statement that only a portsnap update is OK? After the initial fetch and extract, yes, you should use update. > >The extract will bring the tree up-to-date with the fetched snapshot. > >You could use extract instead of update all the time, except that it's > >slower and deletes user generated files in the ports directories (e.g. > >README.html). >=20 > So since it's faster and doesn't delete user generated files,=20 > upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. This is quite a lengthy process, given the size of the ports tree these days. update on the other hand, only replaces those ports that are different between the currently installed tree, and the tree in the new portsnap archive. I hope that makes sense... Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --zhtSGe8h3+lMyY1M-- --e5GLnnZ8mDMEwH4V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklKhGMACgkQixf5fBYiFmr+IACg0Z5a0s/v3bOloZBjMmg4Srq9 j88AoK3tFKZDaOauEqNu25iyYTAPeXfS =LGat -----END PGP SIGNATURE----- --e5GLnnZ8mDMEwH4V--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081218171203.GG5150>