From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 23:26:06 2004 Return-Path: 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 A384316A4CE for ; Tue, 14 Dec 2004 23:26:06 +0000 (GMT) Received: from mail3.sa.chariot.net.au (mail3.sa.chariot.net.au [203.87.94.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E611743D49 for ; Tue, 14 Dec 2004 23:26:05 +0000 (GMT) (envelope-from imoore@picknowl.com.au) Received: from jupiter.picknowl.com.au (jupiter.picknowl.com.au [203.87.94.38]) by mail3.sa.chariot.net.au (Postfix) with ESMTP id 543E0A4B9F; Wed, 15 Dec 2004 09:56:04 +1030 (CST) Received: from daemon.foo.com (adsl-176-70.swiftdsl.com.au [218.214.176.70]) by jupiter.picknowl.com.au (Postfix) with ESMTP id EDD8596863; Wed, 15 Dec 2004 09:56:03 +1030 (CST) From: Ian Moore To: freebsd-questions@freebsd.org Date: Wed, 15 Dec 2004 09:55:54 +1030 User-Agent: KMail/1.7.1 References: <20041214224750.M18198@enabled.com> <20041214225932.M34944@enabled.com> In-Reply-To: <20041214225932.M34944@enabled.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1121874.rTzaCdIEiD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412150956.02613.imoore@picknowl.com.au> cc: Derrick Ryalls cc: Noah Subject: Re: php4 install has conflicts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 23:26:06 -0000 --nextPart1121874.rTzaCdIEiD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 15 Dec 2004 09:30, Noah wrote: > On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote > > > > what is the cleanest way to get PHP4 installed here? There are a lot > > > of programs that have dependancies on mod_php4. how do I update all > > > those dependancies to the latest version of mod_php4? and then how do > > > I cleanly remove all those older versions of mod_php4? > > > > > > --- snip --- > > > > > > # make install clean > > > =3D=3D=3D> Installing for php4-4.3.9_1 > > > > > > =3D=3D=3D> php4-4.3.9_1 conflicts with installed package(s): > > > mod_php4-4.3.5_7,1 > > > mod_php4-4.3.6_1,1 > > > mod_php4-4.3.8_2,1 > > > mod_php4-4.3.9_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. > > > > I recommend trying portupgrade (with the -N flag I believe) > > I think I am following you correctly here? > > --- snip --- > > # portupgrade -N mod_php4-4.3.9_1,1 > # make install clean > =3D=3D=3D> Installing for php4-4.3.9_1 > > =3D=3D=3D> php4-4.3.9_1 conflicts with installed package(s): > mod_php4-4.3.5_7,1 > mod_php4-4.3.6_1,1 > mod_php4-4.3.8_2,1 > mod_php4-4.3.9_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. > > --- snip --- Try portupgrade -rR php4\* The -N flag is for installing new packages, not upgrading existing ones. -r= R=20 should resolve all dependencies above & below php4. That should also remove= =20 all the old versions . Cheers, =2D-=20 Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart1121874.rTzaCdIEiD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBv3aKfITqkXhImmIRAnsKAKCd2CIcrzdODCgy22NWp80weqTI8ACcCVem uCnvCa4bEwwCzkbALD3VCIo= =zkwe -----END PGP SIGNATURE----- --nextPart1121874.rTzaCdIEiD--