From owner-freebsd-questions Thu Nov 4 14:46:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 7425F1568B for ; Thu, 4 Nov 1999 14:46:42 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 16450 invoked from network); 4 Nov 1999 22:42:46 -0000 Received: from useraf33.uk.uudial.com (HELO marder-1.) (62.188.132.20) by smtp.dial.pipex.com with SMTP; 4 Nov 1999 22:42:46 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id WAA00744; Thu, 4 Nov 1999 22:42:40 GMT (envelope-from mark) Date: Thu, 4 Nov 1999 22:42:40 +0000 From: Mark Ovens To: Christopher Michaels Cc: "'Stephen P. Cravey'" , "FreeBSD Questions (E-mail)" Subject: Re: Upgrading ports and existing programs Message-ID: <19991104224239.B319@marder-1> References: <6C37EE640B78D2118D2F00A0C90FCB4401105D4C@site2s1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105D4C@site2s1> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 05:20:19PM -0500, Christopher Michaels wrote: > > -----Original Message----- > > From: Stephen P. Cravey [SMTP:cravey@hal-pc.org] > > Sent: Sunday, October 31, 1999 2:43 PM > > To: freebsd-questions@FreeBSD.ORG > > Subject: Upgrading ports and existing programs > > > > I'd like to upgrade the versions of some of my installed programs from > > ports. I can cvsup new ports, but before I do, I have a few questions. > > > > Are there several ports trees I can cvsup (ports-stable, ports-current, > > ports-really-really-buggy)? > > > > Do I need to 'make deinstall' all of the programs i've previeously > > installed from the ports collection before I cvsup the new ports? After I > > cvsup the new ports? at all? when? > > > Ok, this one answer I haven't seen yet in all of the replies. > > 1. What one would normally do is the following. > 2. cvsup ports. > 3. run "pkg_version" to find out which ports have been updated. > (pkg_delete is also found in the ports collection.) > 4. run a "make all" in the port so you know it will compile > successfully. > 5. "pkg_delete" the old version of the port. > 6. run a "make install" in the port's directory. > Nik Clayton has some patches for pkg_version that generate these commands automatically. http://www.freebsd.org/~nik/pkg_version.1.diff http://www.freebsd.org/~nik/pkg_version.diff > > Do I need to worry about a new version of a port not working on my > > 3.1-stable system? > > > > Will cron-ing a ports cvsup cause any problems for installed programs? > > upgrading or removing them? > > > > basically, how the heck do I do this without messing up my system? > > > > Thank you. > > > > -Stephen > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message