Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 22:42:40 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Christopher Michaels <ChrisMic@clientlogic.com>
Cc:        "'Stephen P. Cravey'" <cravey@hal-pc.org>, "FreeBSD Questions (E-mail)" <questions@freebsd.org>
Subject:   Re: Upgrading ports and existing programs
Message-ID:  <19991104224239.B319@marder-1>
In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105D4C@site2s1>
References:  <6C37EE640B78D2118D2F00A0C90FCB4401105D4C@site2s1>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991104224239.B319>