From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 17:14:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E45616A422 for ; Wed, 22 Mar 2006 17:14:10 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85FEB43D8C for ; Wed, 22 Mar 2006 17:13:58 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id 2442B13C7DE; Wed, 22 Mar 2006 11:15:39 -0600 (CST) Received: by bravo.pjkh.com (Postfix, from userid 1000) id E7D2613C7DD; Wed, 22 Mar 2006 11:15:38 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id E6A4213C7DC; Wed, 22 Mar 2006 11:15:38 -0600 (CST) Date: Wed, 22 Mar 2006 11:15:38 -0600 (CST) From: Philip Hallstrom To: "Michael P. Soulier" In-Reply-To: <20060322162638.GS20833@tigger.digitaltorque.ca> Message-ID: <20060322111439.B86254@bravo.pjkh.com> References: <20060322162638.GS20833@tigger.digitaltorque.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: php dependency hell 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: Wed, 22 Mar 2006 17:14:10 -0000 > > I'm trying to install Cacti, and it builds and installs fine. But, it's > looking for the php command-line binary as well, which the port did not pull > in for some reason. > > So, I go to build php-cli, and install it. > > [msoulier@kanga php4-cli]$ sudo make install > ===> Installing for php4-cli-4.4.2_1 > > ===> php4-cli-4.4.2_1 conflicts with installed package(s): > mod_php4-4.4.1,1 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/lang/php4-cli. > > But I need mod_php4 for apache. What guarantee do I have that php4-cli will > provide the same functionality? install /usr/ports/lang/php4 which installs both the apache module and the cli. > Plus, this... > > [msoulier@kanga php4-cli]$ sudo pkg_delete -n mod_php4-4.4.1,1 > pkg_delete: package 'mod_php4-4.4.1,1' is required by these other packages > and may not be deinstalled: > cacti-0.8.6h_41 > php4-ctype-4.4.1 > php4-extensions-1.0 > php4-mysql-4.4.1 > php4-overload-4.4.1 > php4-pcre-4.4.1 > php4-posix-4.4.1 > php4-session-4.4.1 > php4-tokenizer-4.4.1 > php4-xml-4.4.1 > php4-zlib-4.4.1 > pkg_delete: 1 package deletion(s) failed > > How do I resolve this? This looks like a huge mess. If it were me, I'd remove all of those and start over. Otherwise add a -f option to pkg_delete to forcibly remove mod_php4. -philip