From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 06:37:37 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8D0D106566C for ; Fri, 17 Aug 2012 06:37:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 099448FC15 for ; Fri, 17 Aug 2012 06:37:36 +0000 (UTC) Received: from seedling.local (host86-180-66-20.range86-180.btcentralplus.com [86.180.66.20]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q7H6bVrb091991 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 17 Aug 2012 07:37:32 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q7H6bVrb091991 Authentication-Results: smtp.infracaninophile.co.uk/q7H6bVrb091991; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host86-180-66-20.range86-180.btcentralplus.com [86.180.66.20] claimed to be seedling.local Message-ID: <502DE6A3.7070205@FreeBSD.org> Date: Fri, 17 Aug 2012 07:37:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: KK CHN References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig269E45A953CFA646D494FBFE" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org Subject: Re: Few queries FreeBSD upgrade 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: Fri, 17 Aug 2012 06:37:37 -0000 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--