Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2002 14:34:18 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Chris Snyder <chris@psydeshow.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Proper way to upgrade packaes from ports 
Message-ID:  <20021007213418.8D1B55D06@ptavv.es.net>
In-Reply-To: Your message of "Mon, 07 Oct 2002 17:23:40 EDT." <3DA1FB5C.3040700@psydeshow.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 07 Oct 2002 17:23:40 -0400
> From: Chris Snyder <chris@psydeshow.org>
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> Kent Stewart wrote:
> 
> >   I have usually done a pkg_version -c and know what needs to be updated. 
> 
> I use the pkg_version -c method as well-- it seems so much simpler than 
> portupgrade, but am I missing something and/or running the risk of 
> breaking things?
> 
> FWIW I think that keeping your ports/packages up-to-date could be 
> covered better in the Handbook, considering how important it is in terms 
> of security. There's no mention of either portupgrade or pkg_version in 
> the ports/packages coverage.

The -c option to pkg_version is NOT safe. The message it puts out
makes this clear. I think Bruce said that he was planning on pulling it
once portupgrade stabilized because it was just too dangerous.

It has no intelligence on the dependencies and does not always do
things in the proper order. To do this properly you need to completely
graph all dependencies and their versions and update from the bottom
of the graph. I think it was Bruce's comments on this that led knu to
write portupgrade.

I'm sure that portupgrade would be in the base system except for the
dependency on ruby, just as cvsup would if not for the Mobula III
requirement. But both are nearly essential to maintaining a robust
system.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

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?20021007213418.8D1B55D06>