From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:55:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E9A106567E for ; Wed, 2 Mar 2011 22:55:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E67B8FC0A for ; Wed, 2 Mar 2011 22:55:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id p22Mt6qK091323; Wed, 2 Mar 2011 23:55:06 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 99170BA8C; Wed, 2 Mar 2011 23:55:06 +0100 (CET) Date: Wed, 2 Mar 2011 23:55:06 +0100 From: Roland Smith To: Damien Fleuriot Message-ID: <20110302225506.GB75759@slackbox.erewhon.net> References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <4D6E6E51.8030708@my.gd> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:55:14 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 02, 2011 at 05:20:33PM +0100, Damien Fleuriot wrote: >=20 > > 2.) How do I rebuild the ports? > >=20 >=20 > 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 a= ll 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 portupgr= ade for this can lead to problems later (upgrades failing for obscure reasons). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --V0207lvV8h4k8FAm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk1uysoACgkQEnfvsMMhpyXYrgCeOHcEEw7gJ9uQWlx0LF+jSIzI 1xAAnjg0RGfPkRMfP7Ni3AnoIKunkGDE =zphf -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm--