Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2001 09:19:54 +1100
From:      BSD Freak <bsd-freak@mbox.com.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Correct Prcoeedure for upgrading a port or package
Message-ID:  <36952c36a627.36a62736952c@mbox.com.au>

next in thread | raw e-mail | index | archive | help
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....

---------------------------------------------------------------------
A private Secretary for $29.95 pa
http://www.mbox.com.au/consumer_basic_more.html

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?36952c36a627.36a62736952c>