From owner-freebsd-questions Sat Nov 10 14:22:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.mbox.com.au (203-134-146-019.cust.pth.iprimus.net.au [203.134.146.19]) by hub.freebsd.org (Postfix) with ESMTP id 1D39B37B416 for ; Sat, 10 Nov 2001 14:22:35 -0800 (PST) Received: from nms2.mbox.com.au (webmail.i7mail.com.au [192.168.20.4]) by smtp2.mbox.com.au (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0GML003F4VD15J@smtp2.mbox.com.au> for freebsd-questions@FreeBSD.ORG; Sun, 11 Nov 2001 06:19:49 +0800 (WST) Received: from mbox.com.au ([127.0.0.1]) by nms2.mbox.com.au (Netscape Messaging Server 4.15) with ESMTP id GMLVD602.DA1 for ; Sun, 11 Nov 2001 06:19:54 +0800 Date: Sun, 11 Nov 2001 09:19:54 +1100 From: BSD Freak Subject: Correct Prcoeedure for upgrading a port or package To: FreeBSD Questions Message-id: <36952c36a627.36a62736952c@mbox.com.au> MIME-version: 1.0 X-Mailer: Netscape Webmail Content-type: text/plain; charset=us-ascii Content-language: en Content-disposition: inline Content-transfer-encoding: 7BIT X-Accept-Language: en 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 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