Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2012 07:37:23 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        KK CHN <kkchn.in@gmail.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Few queries FreeBSD upgrade
Message-ID:  <502DE6A3.7070205@FreeBSD.org>
In-Reply-To: <CAKgGyB-otP0u1L1=fJtDEOOfSgmDo_oYqwoby1WU4BgAgDnPwA@mail.gmail.com>
References:  <CAKgGyB-otP0u1L1=fJtDEOOfSgmDo_oYqwoby1WU4BgAgDnPwA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig269E45A953CFA646D494FBFE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 17/08/2012 07:13, KK CHN wrote:

> I observe the following error while installing from ports collection
> for any ports  in an old FreeBSD server
>=20
> "/usr/ports/Mk/bsd.options.mk", line 90: Malformed conditional
> (!defined(OPTIONS_DEFINE) || empty(OPTIONS_DEFINE:Monly)"))

Yes.  That's the result of a bug fix to make(1) which has allowed the
ports generally to use code patterns that formerly used to fail.  If you
don't upgrade the OS to get the make(1) fixes, then you get the fail.

> 1) Is there any solution for  this issue other than   upgrade ?

No.  Or at least, nothing that isn't less work than simply upgrading.

> 2) Please guide me:
>=20
> I must upgrade this  old release.   Can any one tell  me which order I
> need to upgrade?
>=20
> I mean from  6.2 Release to which next version and next  ?  please
> mention the sequence  to reach 9.0 Release
>=20
> 3)  Which  upgrade method I have to follow ?     Source upgrade or
> binary upgrade?
>=20
> I am ready to do  source upgrade  please shed some light on  the pros
> and cons of both ways of upgrade.
>=20
> 4) Which all are those system files & directories  I need to backup bef=
ore
> doing any of the upgrade to retrieve the system in case anything goes
> wrong?

For an upgrade over so many major versions, what I'd recommend is
actually to start out with a fresh hard drive and install a brand new
system from scratch.  Port over all your local customizations and data.

This is a pretty inherently safe operation, as you'll always have your
old hard drive available as fall-back.  (But you should backup
everything in any case.)  It also lets you rethink the design of your
systems -- everything from the partition layout to the choice of
software used.  The best way of doing this is to have a spare machine so
you can have both the old and new systems running at once.  Failing
that, install both drives into the same system so you can access the old
drive while working on the new one.

Given that you started from 6.2-RELEASE your current drive must be
several years old, and quite likely to be getting towards the end of its
usable life.  Pre-emptively moving to newer disk hardware is a good way
to dodge potential problems there.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--------------enig269E45A953CFA646D494FBFE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAt5qsACgkQ8Mjk52CukIyn2wCdFdwpJPISC5JqX6YDt5zdcQCa
UdkAniZ0lJM7YToPdflpjrM8nXCPZVFG
=MMpR
-----END PGP SIGNATURE-----

--------------enig269E45A953CFA646D494FBFE--



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