From owner-freebsd-questions Thu Jun 21 5:21:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from spdmraac.compuserve.com (ds-img-rel-3.compuserve.com [149.174.206.154]) by hub.freebsd.org (Postfix) with ESMTP id 0344A37B406 for ; Thu, 21 Jun 2001 05:21:37 -0700 (PDT) (envelope-from jwvehrs@compuserve.com) Received: (from mailgate@localhost) by spdmraac.compuserve.com (8.9.3/8.9.3/SUN-REL-1.3) id IAA25924 for freebsd-questions@freebsd.org; Thu, 21 Jun 2001 08:21:36 -0400 (EDT) Received: from osmium.vehrs.org (chi-tgn-gjh-vty19.as.wcom.net [216.192.144.19]) by spdmraac.compuserve.com (8.9.3/8.9.3/SUN-REL-1.3) with ESMTP id IAA25905; Thu, 21 Jun 2001 08:21:28 -0400 (EDT) Received: (from jwvehrs@localhost) by osmium.vehrs.org (8.11.2/8.11.2) id f5LCKGi29850; Thu, 21 Jun 2001 07:20:16 -0500 (CDT) (envelope-from jwvehrs) Date: Thu, 21 Jun 2001 07:20:14 -0500 From: Jeffrey Vehrs To: BSD Freak Cc: freebsd-questions@freebsd.org Subject: Re: Correct procedure to upgrade a port or package Message-ID: <20010621072014.A29835@osmium.vehrs.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bsd-freak@mbox.com.au on Thu, Jun 21, 2001 at 11:32:39AM +1000 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 I was upgrading packages last nite automatically. Here's my procedure: 1) type 'pkg_version -c >updateApps' 2) edit updateApps 3) su as root 4) type 'sh updateApps' off you go It works well for me. On Thu, Jun 21, 2001 at 11:32:39AM +1000, BSD Freak wrote: > Hi all, > > I need to upgrade a package on some of our servers. I beleive the > following is the correct procedure but can someone confirm or deny this, > or offer a better way: > > pkg_delete mypackage-1.1 > pkg_add mypackage-1.4.tgz > > Is there a pkg_upgrade utility ?? > > Thanks .... > > --------------------------------------------- > Receive faxes 24x7, no second line necessary. > http://www.mbox.com.au/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message