Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2011 23:55:06 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Damien Fleuriot <ml@my.gd>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Finish upgrading remote server without physically being there?
Message-ID:  <20110302225506.GB75759@slackbox.erewhon.net>
In-Reply-To: <4D6E6E51.8030708@my.gd>
References:  <AANLkTin39JjTsts2WwgDUV2QfZL745D0P3DqTkko8TFq@mail.gmail.com> <4D6E6B16.7010508@my.gd> <AANLkTin7sHXsLwBBUmHinDaB3FLOH25_CDy4v82gKFjw@mail.gmail.com> <4D6E6E51.8030708@my.gd>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110302225506.GB75759>