From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 01:21:17 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 83E7716A4CE for ; Thu, 16 Dec 2004 01:21:17 +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 9ADF743D45 for ; Thu, 16 Dec 2004 01:21:16 +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 A82B0A452F; Thu, 16 Dec 2004 11:51:14 +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 A0DA996850; Thu, 16 Dec 2004 11:51:14 +1030 (CST) From: Ian Moore To: "Noah" Date: Thu, 16 Dec 2004 11:51:04 +1030 User-Agent: KMail/1.7.1 References: <6FC9F9894A9F8C49A722CF9F2132FC2202A7A4BF@ms05.mailstreet2003.net> <200412151820.53919.imoore@picknowl.com.au> <20041215201504.M27573@enabled.com> In-Reply-To: <20041215201504.M27573@enabled.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1271808.z9gKUsvk66"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412161151.13245.imoore@picknowl.com.au> cc: freebsd-questions@freebsd.org 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: Thu, 16 Dec 2004 01:21:17 -0000 --nextPart1271808.z9gKUsvk66 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 16 Dec 2004 06:45, Noah wrote: > > I could be wrong about this, but I don't believe you need to > > reinstall those ports. Just force delete all old versions of mod- > > php4 and then install the new version of php4 or mod-php4 (whichever > > one you actually want). The other ports shouldn't need to be > > reinstalled, because the new version of php installs to the same > > location as the old version. Hence the ports that use it will just > > use the new version automatically. You may also want to clean up the > > duplicate gallery versions by using pkg_delete -f to remove both > > versions and then install just the latest version of gallery. > > > > To avoid this problem in the future, always use portupgrade to > > upgrade your ports. That way you won't get multiple versions installed! > > okay thank you, > > do you know of a command that can show me all the ports that are installed > on my machine? is there a nice tutorial that explains how to use the por= ts > efficiently and safetly? > cheers,=20 > Noah > pkg_info will show you all the packages installed on your machine, portvers= ion=20 will do this too & show you wether they are up to date or not (assuming you= =20 have cvsuped your ports collection). portversion -vL=3D will show you which= =20 ones are not up to date. There is an excellent turorial on portupgrade from Dr. Dru Lavigne at=20 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html She has lot's of great articles in her FreeBSD basics series, the Big Scary= =20 Deamons articles are great too (also at http://www.onlamp.com) > also how do I upgrade and/or install php4? >=20 > --- snip --- >=20 > # portupgrade php4 > ** No such package 'php4' is installed. > # portinstall php4 > ** No such installed package nor such port called 'php4' is found. >=20 > --- snip --- >=20 That's where you need to use portupgrade -N php4-4.3.9_1 (-N means install= a=20 new port) or you can just cd to the php4 port directory and use make instal= l=20 clean to install it. Hope that helps. Cheers, =2D-=20 Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart1271808.z9gKUsvk66 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBwOMJfITqkXhImmIRArcNAJ9yaaz9J46hiHaSJtaSGZoko0dp5ACgxggs CIkTf7G//1iWx9KlsSH1VTA= =8tTg -----END PGP SIGNATURE----- --nextPart1271808.z9gKUsvk66--