Finish upgrading remote server without physically being there?
rsmith at xs4all.nl
Wed Mar 2 22:55:14 UTC 2011
On Wed, Mar 02, 2011 at 05:20:33PM +0100, Damien Fleuriot wrote:
> > 2.) How do I rebuild the ports?
> Either you rebuild them by hand, one after another...
It kind of depends what kind of upgrade you are doing. When upgrading to
another minor version (say from 8.1 to 8.2) no port rebuilds are necessary.
When upgrading to another major version (e.g. from 7.x to 8.x) rebuilding all
ports is usually necessary since there can be incompatible changes in
e.g. system calls or libraries. The best way to to this is to make a list of
all installed ports (e.g. with 'portmaster -L' or 'ls /var/db/pkg/'), delete
all ports and re-install them. This is the only way to be _sure_ that all
ports are rebuilt correctly. Using e.g. portmaster, portmanager or portupgrade
for this can lead to problems later (upgrades failing for obscure reasons).
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110302/fea77ccd/attachment.pgp
More information about the freebsd-questions