From owner-freebsd-questions Thu Jun 21 5:29:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.cybersurf.net (smtp2.cybersurf.net [209.197.145.112]) by hub.freebsd.org (Postfix) with ESMTP id B807537B401 for ; Thu, 21 Jun 2001 05:29:28 -0700 (PDT) (envelope-from 01031149@3web.net) Received: from [209.197.156.15] ([209.197.156.15]) by smtp2.cybersurf.net (Netscape Messaging Server 4.15) with SMTP id GFA5D100.9FI for ; Thu, 21 Jun 2001 06:29:26 -0600 Received: by mandy.rockingd.calgary.ab.ca (sSMTP sendmail emulation); Thu, 21 Jun 2001 06:28:47 -0600 Date: Thu, 21 Jun 2001 06:28:45 -0600 From: Duke Normandin <01031149@3web.net> To: Jeffrey Vehrs Cc: Freebsd Questions Subject: Re: Correct procedure to upgrade a port or package Message-ID: <20010621062844.A89601@mandy.rockingd.calgary.ab.ca> Mail-Followup-To: Jeffrey Vehrs , Freebsd Questions References: <20010621072014.A29835@osmium.vehrs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010621072014.A29835@osmium.vehrs.org>; from "Jeffrey Vehrs" on Thu, Jun 21, 2001 at 07:20:14AM 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 On Thu, Jun 21, 2001 at 07:20:14AM -0500, Jeffrey Vehrs wrote: > I was upgrading packages last nite automatically. Here's my procedure: > > 1) type 'pkg_version -c >updateApps' > 2) edit updateApps Never done this, so what gets editted in '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 .... > > -- -duke Calgary, Alberta, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message