Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 16:02:29 -0800 (PST)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        BSD Freak <bsd-freak@mbox.com.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Correct Prcoeedure for upgrading a port or package
Message-ID:  <Pine.BSF.4.10.10111101558090.49638-100000@andrsn.stanford.edu>
In-Reply-To: <36952c36a627.36a62736952c@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Nov 2001, BSD Freak wrote:

> Hi everyone,
> 
> I am a little unlear on exactly the correct procedure for upgrading a 
> port or package. From my experimentation I beleive the following is 
> correct but I'm still not quite sure if there is a better way:
> 
> 1. pkg_delete mypackage 1.0
> 2. pkg_add mypackage 1.1
> 
> 
> I found out the hard way that simply installing a new version of a 
> package over the top of the previou one leads to problems removing the 
> old package (and it does not automatically remove the old version ie 
> you end up with two versions of the same package installed).
> 
> Can any guru out there please tell me if my procedure for upgrading 
> ports and packages is sane or if there is a better way.....
> 
> Thank in advance....

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

	Annelise

-- 
Annelise Anderson
Author of: 		 FreeBSD: An Open-Source Operating System for Your PC
Available from:	 mall.daemonnews.org and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/	




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?Pine.BSF.4.10.10111101558090.49638-100000>