From owner-freebsd-ports@FreeBSD.ORG Sun Nov 27 13:01:41 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F1441065678 for ; Sun, 27 Nov 2011 13:01:41 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E24D38FC0C for ; Sun, 27 Nov 2011 13:01:40 +0000 (UTC) Received: by ghbg20 with SMTP id g20so5179076ghb.13 for ; Sun, 27 Nov 2011 05:01:40 -0800 (PST) Received: by 10.100.115.6 with SMTP id n6mr8665585anc.165.1322398900109; Sun, 27 Nov 2011 05:01:40 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id a11sm71857751anc.11.2011.11.27.05.01.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Nov 2011 05:01:39 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Srrr1268wz2CG4p for ; Sun, 27 Nov 2011 08:01:37 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Sun, 27 Nov 2011 08:01:36 -0500 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20111127080136.7e2f0d0a@scorpio> In-Reply-To: <4ED22C20.90605@gmail.com> References: <4ECF9B06.1090602@gmail.com> <201111251506.pAPF609d081562@fire.js.berklix.net> <4ED1B626.8010700@gmail.com> <4ED22C20.90605@gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Strange issues while upgrading ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 13:01:41 -0000 On Sun, 27 Nov 2011 14:25:04 +0200 Kaya Saman articulated: > On 11/27/2011 08:03 AM, Kevin Oberman wrote: > > > > > When it has been this long, you might want to completely delete and > > re-install all ports following the instructions in the portmaster > > man page examples. This will assure that EVERYTHING is properly > > cleaned up. No obsolete libraries, header files, data files, or > > anything else. It's the 11 step process and please read the > > relevant example in its entirety to make sure you don't waste too > > much time. If your system has a very large number of ports > > installed, consider using the -P option to use packages when they > > are available. > > > > I do see some ports that might benefit from CPU specific > > optimizations. If you feel that these are important, re-install > > these after you finish the basic re-installation. > > I discovered in the UPDATING file that it claims the same thing: > > 20100409: > AFFECTS: users of lang/php5 > AUTHOR: ale@FreeBSD.org > > As of PHP 5.3, a few extensions were removed from or included into > the core > PHP5 package. Follow the steps below to update your installation. > > 1) Delete the following packages (if installed): > > - php5-dbase > - php5-ncurses > - php5-pcre > - php5-spl > - php5-ming > - php5-mhash > > 2) Rebuild lang/php5 and all ports that depend on it. > > > The only problem is how to go about it? > > I mean I have quite a few web based monitoring apps (cacti, zabbix, > munin, etc) which all depend on PHP5 + apache22 so am not really sure > if running: > > make deinstall on each port is wise.... especially since I don't want > the config files do be deleted (even though backed up) or backend > database information to be get lost either. That was quite a while ago; however, I remember simply deinstalling each of those ports. Then after updating the ports tree I ran "portmanager -u -l -y -p" to update and rebuild the ports as required. It works like a charm. I know others recommend "portupgrade" and I use that from time to time also but it just seems to fail to update all required ports sometimes in cases like this. Personally, "portmaster" always seems to get my ass in a sling when I have attempted to use it so I leave it alone. Obviously, YMMV. BTW, if you use "portmanager" you will find a log file "/var/log/portmanager.log" that will give you a complete list of what it did if you should experience any problems.. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________