From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 11:22:32 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 15C671065670 for ; Tue, 9 Dec 2008 11:22:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C1B2E8FC12 for ; Tue, 9 Dec 2008 11:22:31 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LA0fb-00025H-My for freebsd-questions@freebsd.org; Tue, 09 Dec 2008 11:22:27 +0000 Received: from pool-138-88-90-120.res.east.verizon.net ([138.88.90.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 11:22:27 +0000 Received: from nightrecon by pool-138-88-90-120.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 11:22:27 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 09 Dec 2008 06:22:10 -0500 Lines: 43 Message-ID: References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-90-120.res.east.verizon.net Sender: news Subject: Re: removing a php5-pcre extension X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 11:22:32 -0000 Ivan Voras wrote: > 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... > > Presumably, if you delete it, the listed packages will stop working. I just ran into this yesterday with a portupgrade. I just did pkg_deinstall -f (pkg_delete -f does the same in lieu) php5-pcre and so far haven't had any problems. I also looked at phpinfo(); and it still is containing a listing for pcre support. YMMV After the portupgrade php -v (I run php as fastcgi) segfaulted. I ran the "reorder extensions.ini" script and it then complained about sqlite.so. Since I don't use that I just commented it out of extensions.ini. In case anyone else sees the same. -Mike