Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 12:55:22 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        John <comp.john@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 7.2-STABLE to 8-R
Message-ID:  <20091129115522.GA9244@slackbox.xs4all.nl>
In-Reply-To: <20091129094931.GA48553@potato>
References:  <20091124154514.GA91657@potato> <200911241725.42229.pieter@degoeje.nl> <20091124163718.GB91657@potato> <4B0C1249.1090600@lazlarlyricon.com> <20091124174025.GC91657@potato> <20091124210948.GC87829@slackbox.xs4all.nl> <20091125082851.GA6151@john-laptop> <20091129094931.GA48553@potato>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 29, 2009 at 09:49:32AM +0000, John wrote:
>=20
> Looks like I had to learn the hard way. portmanager won't fix it all.

Been there, done that. :-)=20

I think this problem is just too complex when updating between major versio=
ns,
for several reasons. First of all being that the port management tool proba=
bly
do not know they are updating to a new major version of the system
libraries. Sometimes a port will not build correctly when an older version =
is
installed. And there can be special instructions in /usr/ports/UPDATING that
the upgrade tools can't read.

IMO building a tool that can rebuild ports between major versions would
be nice but not worth the effort, since it happens so infrequently.

> Basically had to make delete old libs and files as per the Makefile in
> /usr/src, then did pkg_delete -a then rm -rf /usr/ports then portsnap,
> then installed what ports I needed starting off with the monsters like
> the latest perl and xorg.

It seems to me that deleting the entire ports tree is not necessary. That
would delete all the distfiles as well. Next time just update it with
portsnap, it will save you a lot of downloading.

And if you have a spare machine, update that first and then copy /usr/local,
/var/db/ports and /var/db/pkg to the other machines with the same hardware
architecture. That will save you a lot of time and effort and will result in
minimal downtime and risk.

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)

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksSYSoACgkQEnfvsMMhpyXNSACaAmUYWkkNWOwD7PDz6JQtDD28
ppAAn27npE5jVhbuWb3QPE6JD0TDVdcJ
=/A9D
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091129115522.GA9244>