From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 06:13:42 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 7D5D2106566B for ; Fri, 17 Aug 2012 06:13:42 +0000 (UTC) (envelope-from kkchn.in@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 380BE8FC12 for ; Fri, 17 Aug 2012 06:13:42 +0000 (UTC) Received: by qatn12 with SMTP id n12so1472854qat.13 for ; Thu, 16 Aug 2012 23:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TKsXONywPWntMILvE5QBr8EP3n8wI9UYCBPVkcLplDQ=; b=AQCl9UEZRWjDEfJVwuDZU5qKvQWbemHkMybzauNWQPWILBmZxpWApqyzFURi6rvsk/ F+mIgG4web9N+MvR840StZxd915Ngeq+hu2Fg/D6MZacakTo+akV6Ml7QYC+YOFWRB6R 0/qXggQ0GLEM5EHo3XvvNlFY3+r9aedQd6OOiAg4bNxtBwlhT7ppRJitqb3tNl+JbAoS ts7NEXBlHghD6XxLgv4ZMQknREJr6inZHd9IAK365usOOXnFALQ9PgUSWTnyrwefe2W9 dbVZo33ZHxoP+onQWt7ytfegLzJp4GHu3PSpOTo1hW2WVxlBynWFKYWTEQ9jnPzGJaWN Ry5g== MIME-Version: 1.0 Received: by 10.229.136.134 with SMTP id r6mr2905639qct.10.1345184021552; Thu, 16 Aug 2012 23:13:41 -0700 (PDT) Received: by 10.49.50.65 with HTTP; Thu, 16 Aug 2012 23:13:41 -0700 (PDT) Date: Fri, 17 Aug 2012 06:13:41 +0000 Message-ID: From: KK CHN To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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:13:42 -0000 List, I observe the following error while installing from ports collection for any ports in an old FreeBSD server "/usr/ports/Mk/bsd.options.mk", line 90: Malformed conditional (!defined(OPTIONS_DEFINE) || empty(OPTIONS_DEFINE:Monly)")) I tried the following 1) cvsup and make index throws the following error Variable ALL_OPTIONS is recursive. ===> arabic/ae_fonts_mono failed *** Error code 1 Unknown modifier 'u' 2) I done csup -L2 portsupfile && make fetchindex This also not helped 3) portsnap extract && portsnap fetch update Nothing improved All port installation fails, this is the port I am trying to install star# cd /usr/ports/databases/postgresql84-server/ star# make install clean "Makefile", line 115: Could not find bsd.port.options.mk Unknown modifier 'u' Unknown modifier 'u' "/usr/ports/Mk/bsd.options.mk", line 90: Malformed conditional (!defined(OPTIONS_DEFINE) || empty(OPTIONS_DEFINE:Monly)")) Variable NO_OPTIONS is recursive. star# uname -a FreeBSD star.net 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Thu May 5 15:55:38 IST 2011 root@star.net:/usr/obj/usr/src/sys/MYKERNELSTAR i386 I replaced the /usr/ports/Mk directory with the Mk directory downloaded from the FreeBSD-6.2 archive. Still the error in port install remains.. 1) Is there any solution for this issue other than upgrade ? 2) Please guide me: I must upgrade this old release. Can any one tell me which order I need to upgrade? I mean from 6.2 Release to which next version and next ? please mention the sequence to reach 9.0 Release 3) Which upgrade method I have to follow ? Source upgrade or binary upgrade? I am ready to do source upgrade please shed some light on the pros and cons of both ways of upgrade. 4) Which all are those system files & directories I need to backup before doing any of the upgrade to retrieve the system in case anything goes wrong? Thanks in advacne krish