From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 14:07:58 2008 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 ABC861065675 for ; Tue, 9 Dec 2008 14:07:58 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from pih-relay08.plus.net (pih-relay08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC528FC18 for ; Tue, 9 Dec 2008 14:07:58 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay08.plus.net with esmtp (Exim) id 1LA3Fk-0008Eo-BG for freebsd-questions@freebsd.org; Tue, 09 Dec 2008 14:07:56 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1LA3Fj-0001PI-TT for freebsd-questions@freebsd.org; Tue, 09 Dec 2008 14:07:56 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 9 Dec 2008 14:07:55 +0000 User-Agent: KMail/1.9.10 References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> In-Reply-To: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812091407.55755.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 4ebbbc831e7db08ce22d6c6bca75ec15 Subject: Re: removing a php5-pcre extension 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: Tue, 09 Dec 2008 14:07:58 -0000 On Tuesday 09 December 2008, Zbigniew Szalbot wrote: > Hello, > > Now that pcre is included in the base installation, how do I remove > it? > > $ pkg_delete -nv php5-pcre-5.2.6_2 > pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other > packages and may not be deinstalled: > pear-1.7.2 > pear-Auth-1.6.1 > pear-Auth_SASL-1.0.2 > pear-DB-1.7.13,1 > pear-Log-1.10.1 > pear-Mail_Mime-1.5.2,1 > pear-Mail_mimeDecode-1.5.0 > pear-Net_SMTP-1.3.0 > pear-Net_Socket-1.0.8 > pear-Pager-2.4.6 > pecl-filter-0.11.0 > php5-extensions-1.2 > phpMyAdmin-3.1.0 > smarty-2.6.19 > pkg_delete: 1 package deletion(s) failed > > Am I safe just deleting it? Or do I have to rebuild all the above > listed ports? Leaving it as is is probably not a good idea... /usr/ports/UPDATING seems to imply you should be OK to force delete it - 20081207: AFFECTS: users of lang/php5 AUTHOR: pav@FreeBSD.org As of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore. Follow these steps to update your installation: Portupgrade users: pkg_delete -f php5-pcre-5.2.6 pkgdb -F portupgrade as usual -- Mike Clarke