From owner-freebsd-questions Sat Nov 10 20:17:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-80.dsl.lsan03.pacbell.net [63.207.60.80]) by hub.freebsd.org (Postfix) with ESMTP id CCE2E37B41F for ; Sat, 10 Nov 2001 20:17:34 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8801866BE2; Sat, 10 Nov 2001 20:17:34 -0800 (PST) Date: Sat, 10 Nov 2001 20:17:34 -0800 From: Kris Kennaway To: Annelise Anderson Cc: BSD Freak , FreeBSD Questions Subject: Re: Correct Prcoeedure for upgrading a port or package Message-ID: <20011110201734.B96057@xor.obsecurity.org> References: <36952c36a627.36a62736952c@mbox.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from andrsn@andrsn.stanford.edu on Sat, Nov 10, 2001 at 04:02:29PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 10, 2001 at 04:02:29PM -0800, Annelise Anderson wrote: > On Sun, 11 Nov 2001, BSD Freak wrote: >=20 > > Hi everyone, > >=20 > > I am a little unlear on exactly the correct procedure for upgrading a= =20 > > port or package. From my experimentation I beleive the following is=20 > > correct but I'm still not quite sure if there is a better way: > >=20 > > 1. pkg_delete mypackage 1.0 > > 2. pkg_add mypackage 1.1 > >=20 > >=20 > > I found out the hard way that simply installing a new version of a=20 > > package over the top of the previou one leads to problems removing the= =20 > > old package (and it does not automatically remove the old version ie=20 > > you end up with two versions of the same package installed). > >=20 > > Can any guru out there please tell me if my procedure for upgrading=20 > > ports and packages is sane or if there is a better way..... > >=20 > > Thank in advance.... >=20 > The portupgrade port seems to be emerging as the best tool for > upgrading ports, since it deals with dependencies so well (both > requirements for any given port and packages that depend on the > port). Yep, another recommendation for portupgrade. Kris --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE77fvdWry0BWjoQKURAi81AJsGJ5pQV7pxtTeWoqUPNQj1DUU/awCfcJtX GpcWJgn8xRRrA0xL85Hr4iY= =F2Ka -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message