From owner-freebsd-questions Thu Jun 21 15:32: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from siaar1aa.compuserve.com (siaar1aa.compuserve.com [149.174.40.9]) by hub.freebsd.org (Postfix) with ESMTP id 692DB37B401 for ; Thu, 21 Jun 2001 15:32:04 -0700 (PDT) (envelope-from jwvehrs@compuserve.com) Received: (from mailgate@localhost) by siaar1aa.compuserve.com (8.9.3/8.9.3/SUN-REL-1.3) id SAA20306 for freebsd-questions@freebsd.org; Thu, 21 Jun 2001 18:32:03 -0400 (EDT) Received: from osmium.vehrs.org (chi-tgn-gvo-vty1.as.wcom.net [216.192.149.1]) by siaar1aa.compuserve.com (8.9.3/8.9.3/SUN-REL-1.3) with ESMTP id SAA20084; Thu, 21 Jun 2001 18:31:40 -0400 (EDT) Received: (from jwvehrs@localhost) by osmium.vehrs.org (8.11.2/8.11.2) id f5LMTlJ45397; Thu, 21 Jun 2001 17:29:47 -0500 (CDT) (envelope-from jwvehrs) Date: Thu, 21 Jun 2001 17:29:26 -0500 From: Jeffrey Vehrs To: James Lim Cc: Duke Normandin <01031149@3web.net>, Freebsd Questions Subject: Re: Correct procedure to upgrade a port or package Message-ID: <20010621172926.A45378@osmium.vehrs.org> References: <20010621072014.A29835@osmium.vehrs.org> <20010621062844.A89601@mandy.rockingd.calgary.ab.ca> <01062120452002.41027@evilfry.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01062120452002.41027@evilfry.dyndns.org>; from evilfry@sg.freebsd.org on Thu, Jun 21, 2001 at 08:45:20PM +0800 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 Now, that is very interesting. I didn't know it was there. I ought to try it next time. Anyway, to answer Duke's question. Remove some apps that you don't want to upgrade or add 'distclean' to 'make install'. Hope that helps. On Thu, Jun 21, 2001 at 08:45:20PM +0800, James Lim wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > Check out /usr/ports/sysutils/portupgrade > > Hope this helps > > > On the last episode Thursday 21 June 2001 20:28, Duke Normandin wrote: > > 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 .... > > - -- > Regards, > James Lim > http://sg.freebsd.org | http://www.bsd-geeks.org > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.8 > > iQA/AwUBOzHsYJpTakonTMbIEQK8dACfcwzzXnU5vt0FJr5mY8gZbxkgxC8An1H9 > GjE7pXye7KkEoKtJKRNKFzSC > =i+as > -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message