From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 07:50:57 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 47DCA16A4CE for ; Wed, 15 Dec 2004 07:50:57 +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 3755A43D5A for ; Wed, 15 Dec 2004 07:50:56 +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 41580A4059; Wed, 15 Dec 2004 18:20:55 +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 A463A96855; Wed, 15 Dec 2004 18:20:54 +1030 (CST) From: Ian Moore To: freebsd-questions@freebsd.org Date: Wed, 15 Dec 2004 18:20:42 +1030 User-Agent: KMail/1.7.1 References: <6FC9F9894A9F8C49A722CF9F2132FC2202A7A4BF@ms05.mailstreet2003.net> <20041215011800.M29112@enabled.com> In-Reply-To: <20041215011800.M29112@enabled.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3804649.jlrz8Ci01z"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412151820.53919.imoore@picknowl.com.au> 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: Wed, 15 Dec 2004 07:50:57 -0000 --nextPart3804649.jlrz8Ci01z Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 15 Dec 2004 11:49, Noah wrote: > On Tue, 14 Dec 2004 19:50:15 -0500, Haulmark, Chris wrote > > > Someone broke the silence: > > > Okay, so I remove mod_php, huh - and then reinstall it? > > > > > > take a look at this. how do I handle all the packages that Need > > > mod_php? how do I do this cleanly? > > > > > > --- snp --- > > > > > > # pkg_delete mod_php4-4.3.5_7,1 > > > pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other > > > packages and may not be deinstalled: > > > gallery-1.4.4.2 > > > gallery-1.4.4.4 > > > php4-bz2-4.3.9_1 > > > php4-gettext-4.3.8_2 > > > php4-mysql-4.3.8_2 > > > php4-pcre-4.3.8_2 > > > php4-session-4.3.8_2 > > > phpMyAdmin-2.5.6_1 > > > phpMyAdmin-2.5.7.1 > > > phpbb-2.0.8_3 > > > squirrelmail-1.4.3a > > > > Use -f for pkg_delete when you want to delete a package without any > > worry about the dependencies. > > > > What I would do is: > > > > pkg_delete -f mod_php4-4.3.5_7,1 > > portinstall mod_php4 > > > > Then you can be safe if you reinstall the rest of them with your > > previous reinstall method. > > Okay cool. let me be sure that I am on the same page as you. > > do I need to go and reinstall the gallery, php4-bz2 proggies? is that > wahat you are saying here? > > cheers, > > Noah > > > Chris I could be wrong about this, but I don't believe you need to reinstall thos= e=20 ports. Just force delete all old versions of mod-php4 and then install the new=20 version of php4 or mod-php4 (whichever one you actually want). The other=20 ports shouldn't need to be reinstalled, because the new version of php=20 installs to the same location as the old version. Hence the ports that use = it=20 will just use the new version automatically. You may also want to clean up the duplicate gallery versions by using=20 pkg_delete -f to remove both versions and then install just the latest=20 version of gallery. To avoid this problem in the future, always use portupgrade to upgrade your= =20 ports. That way you won't get multiple versions installed! Cheers, =2D-=20 Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart3804649.jlrz8Ci01z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBv+zdfITqkXhImmIRAotjAJ99GOcz2RHC4Id4bchLXeBC+TLT1ACgsCAE bh918qbA2cB/iXe8p/b/55Y= =jHQH -----END PGP SIGNATURE----- --nextPart3804649.jlrz8Ci01z--