Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 20:17:34 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        BSD Freak <bsd-freak@mbox.com.au>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Correct Prcoeedure for upgrading a port or package
Message-ID:  <20011110201734.B96057@xor.obsecurity.org>
In-Reply-To: <Pine.BSF.4.10.10111101558090.49638-100000@andrsn.stanford.edu>; from andrsn@andrsn.stanford.edu on Sat, Nov 10, 2001 at 04:02:29PM -0800
References:  <36952c36a627.36a62736952c@mbox.com.au> <Pine.BSF.4.10.10111101558090.49638-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011110201734.B96057>