Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2012 06:13:41 +0000
From:      KK CHN <>
Subject:   Few queries FreeBSD upgrade
Message-ID:  <>

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

I observe the following error while installing from ports collection
for any ports  in an old FreeBSD server

"/usr/ports/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
Unknown modifier 'u'

Unknown modifier 'u'

"/usr/ports/Mk/", line 90: Malformed conditional
(!defined(OPTIONS_DEFINE) || empty(OPTIONS_DEFINE:Monly)"))
Variable NO_OPTIONS is recursive.

star# uname -a
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Thu May  5
15:55:38 IST 2011

 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

Thanks in advacne

Want to link to this message? Use this URL: <>