From owner-freebsd-ports@FreeBSD.ORG Sun Oct 14 21:38:00 2007 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 6772F16A469 for ; Sun, 14 Oct 2007 21:38:00 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC6213C46B for ; Sun, 14 Oct 2007 21:37:59 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.102] (cpe-76-185-121-253.tx.res.rr.com [76.185.121.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 3198365514 for ; Sun, 14 Oct 2007 16:37:59 -0500 (CDT) Date: Sun, 14 Oct 2007 16:37:43 -0500 From: Paul Schmehl To: freebsd-ports@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========DAE902A13F8400F7E8DF==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I don't understand this X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2007 21:38:00 -0000 --==========DAE902A13F8400F7E8DF========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I upgraded a server from php4 to php5. First I uninstalled php4. Then I uninstalled php4-extensions. Then I=20 installed php5. Then I installed php5-extensions. Now, when I run portupgrade, I get a ton of complaints about php4=20 extensions that can't be updated. portupgrade -ai ---> Session started at: Sun, 14 Oct 2007 15:41:56 -0500 ** No need to upgrade 'libltdl-1.5.24' (>=3D libltdl-1.5.24). (specify -f = to=20 force) ---> ** Upgrade tasks 272: 0 done, 1 ignored, 0 skipped and 0 failed ** Port marked as IGNORE: textproc/php4-ctype: cannot install: doesn't work with PHP version : 5 (Doesn't support = PHP 5) ---> ** Upgrade tasks 272: 0 done, 161 ignored, 0 skipped and 0 failed ** No need to upgrade 'pecl-json-1.2.1' (>=3D pecl-json-1.2.1). (specify = -f=20 to force) ---> ** Upgrade tasks 272: 0 done, 162 ignored, 0 skipped and 0 failed ** No need to upgrade 'php5-curl-5.2.4_1' (>=3D php5-curl-5.2.4_1). = (specify=20 -f to force) ---> ** Upgrade tasks 272: 0 done, 163 ignored, 0 skipped and 0 failed ** No need to upgrade 'php5-bz2-5.2.4_1' (>=3D php5-bz2-5.2.4_1). (specify = -f to force) ---> ** Upgrade tasks 272: 0 done, 164 ignored, 0 skipped and 0 failed ** Port marked as IGNORE: lang/php4-overload: cannot install: doesn't work with PHP version : 5 (Doesn't support = PHP 5) ---> ** Upgrade tasks 272: 0 done, 165 ignored, 0 skipped and 0 failed ** Port marked as IGNORE: mail/php4-imap: cannot install: doesn't work with PHP version : 5 (Doesn't support = PHP 5) ---> ** Upgrade tasks 272: 0 done, 166 ignored, 0 skipped and 0 failed ---> Packages processed: 0 done, 272 ignored, 0 skipped and 0 failed ---> Session ended at: Sun, 14 Oct 2007 15:42:50 -0500 (consumed = 00:00:54) So, I started uninstalling those ports, but I discovered that the=20 uninstall was removing files installed by the php5-extensions install.=20 So, I had to uninstall each php4 extension, then uninstall each of the=20 corresponding php5 extensions and then reinstall them in order to get the=20 ports db straightened out and have the correct files on disk. Surely there's an easier way to do this? What did I miss? And why=20 doesn't the php4-extensions port uninstall each of the ports installed? Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========DAE902A13F8400F7E8DF==========--