Date: Sun, 23 Dec 2007 01:19:21 +0100 From: Peter Schuller <peter.schuller@infidyne.com> To: freebsd-questions@freebsd.org Cc: Robe <vcrobe@gmail.com> Subject: Re: Updating ports Message-ID: <200712230119.30705.peter.schuller@infidyne.com> In-Reply-To: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com> References: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] > What's the difference between them? The main difference that is relevant to me personally is that portmanager makes no attempt to be too smart about avoiding compilation, and it is fully restartable without affecting the results. It rebuilds ports in such a way that the result is, in theory, supposed to be equivalent to what you would have gotten had you installed them all from scratch with your current ports tree. In particular, given a re-build (e.g. upgraded) port X, all ports depending on X will also be re-built regardless of whether that is required according to the dependency relation. This is handled in such a way that it is not dependent on the entire procedure completing in one session, as you are with portupgrade (meaning it's restartable, as mentioned above). In practice, I find this is the most useful upgrading method. I have never been able to use portupgrade for more than a week or two on a real machine without running into issues (stale dependencies, failed builds due to weak dependency information, etc). That said, it's not perfect. The implementation is buggy in some ways, and there are fundamental problems with that upgrading approach (e.g., files moving between packages can cause problems). In the end I tend to either build binary packages from scratch and use portupgrade -afPP to upgrade, or do in-place upgrading with portmanager. -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHbamSDNor2+l1i30RAtV2AJwLzC5wN1K4SlkoeqBpw/4y8AipMACZAVrr XWxRUXKk0H4tBFyOzuZIXRo= =xpWI -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712230119.30705.peter.schuller>
