Skip site navigation (1)Skip section navigation (2)
Date:      31 Oct 1999 15:33:00 -0500
From:      Kevin Street <street@iname.com>
To:        "Stephen P. Cravey" <cravey@hal-pc.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Upgrading ports and existing programs
Message-ID:  <87zowz8e4j.fsf@mired.eh.local>
In-Reply-To: "Stephen P. Cravey"'s message of "Sun, 31 Oct 1999 13:43:04 -0600"
References:  <v04003a05b44247ccca60@[206.180.128.41]>

next in thread | previous in thread | raw e-mail | index | archive | help
"Stephen P. Cravey" <cravey@hal-pc.org> writes:

> 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)?

There's just one ports tree -current.  In cvsup I use:
ports-all tag=. prefix=/usr
 
> 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?

Only when you're about to do a `make install' of a new port.  Then you
should pkg_delete the old one.  BTW `make deinstall' won't work unless
the version of the new port is the same as the one installed, in which
case you probably don't need to re-install it anyway.

> Do I need to worry about a new version of a port not working on my
> 3.1-stable system?

Rarely.  Only when the new port relies on a feature that's not present
in 3.1.  If it does it would usually fail in the `make all' so you'd
know not to `make install'.  Don't pkg_delete the old one until the
make all has succeeded.  

> Will cron-ing a ports cvsup cause any problems for installed programs?
> upgrading or removing them?

No. It will update the ports tree in /usr/ports but not install any
new ports until you `make install' one of them.

> basically, how the heck do I do this without messing up my system?

Should be no problem.  Have fun.

-- 
Kevin Street
street@iname.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?87zowz8e4j.fsf>