From owner-freebsd-questions@FreeBSD.ORG Sat May 29 21:26:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 354B2106564A for ; Sat, 29 May 2010 21:26:15 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-da05.mx.aol.com (imr-da05.mx.aol.com [205.188.105.147]) by mx1.freebsd.org (Postfix) with ESMTP id EB54B8FC1C for ; Sat, 29 May 2010 21:26:14 +0000 (UTC) Received: from mtaout-da05.r1000.mx.aol.com (mtaout-da05.r1000.mx.aol.com [172.29.51.133]) by imr-da05.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4TLQ29K020558; Sat, 29 May 2010 17:26:02 -0400 Received: from [192.168.0.56] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-da05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 5375AE0000A5; Sat, 29 May 2010 17:26:01 -0400 (EDT) Message-ID: <4C0185B7.5070601@netscape.net> Date: Sun, 30 May 2010 00:23:03 +0300 From: Kaya Saman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jerry References: <4C0177AE.8020506@netscape.net> <20100529165235.6d053844@scorpio> In-Reply-To: <20100529165235.6d053844@scorpio> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:454519136:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33854c0186694cd7 X-AOL-IP: 81.178.2.118 Cc: FreeBSD Subject: Re: Upgrading default Apache1.3 to Apache22 port?? 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: Sat, 29 May 2010 21:26:15 -0000 On 29/05/2010 23:52, Jerry wrote: > On Sat, 29 May 2010 23:23:10 +0300 > Kaya Saman articulated: > > > >> Hi guys, >> >> after Google'ing around a bit I managed to stumble across this: >> >> http://www.freebsd.org/doc/en/books/handbook/ports-using.html >> >> http://www.freebsddiary.org/portupgrade.php >> >> what I am trying to achieve is to upgrade the currently install >> Apache 1.3.x port over to the Apache22 port. The Apach1x got >> installed through some ports which I built which if am not mistaken >> was either Cacti or Munin. >> >> Anyhow, previously when running these guys and more on Linux I've >> always used Apache2x so it would be great to do the same here.... >> >> If I attempt to deinstall Apach1x the system tells me that I have to >> do the same for all the dependencies too, which is not what I want. >> >> Is there a way to upgrade cleanly and smoothly?? >> > If it was me, I would use 'pkg_delete' to remove the existing > 'apache' port. "pkg_delete -dfv apache*" > > Make sure to update your ports tree, then cd to the www/apache22 port > and run "make config" to insure you have it configured correctly. Then, > "portmanager www/apache22 -l -f" to install the new version and insure > that all dependencies are properly updated. I have done similar before > and its worked well. > > > Thanks Jerry!! It seems to have worked.... I just go into the config and check it; only that part seems missing?? Maybe it's in a different place then /etc in FreeBSD and I haven't worked it out yet. Even apache22 daemon is not in /etc/rc.d. Oh well am sure will all be fine more Google'ing I think for me :-) Regards, Kaya