Date: Mon, 7 Oct 2002 18:18:22 -0400 From: "Andrew Knapp" <knappster@knappster.net> To: "'Kevin Oberman'" <oberman@es.net>, "'Chris Snyder'" <chris@psydeshow.org> Cc: <questions@FreeBSD.ORG> Subject: RE: Proper way to upgrade packaes from ports Message-ID: <001301c26e4f$737ba530$6501a8c0@antichrist> In-Reply-To: <20021007213418.8D1B55D06@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
AFAIK, doesn't portupgrade come with another utility called portversion? I use portversion -r (for recursive) to figure out what packages I do need to upgrade. It gives a nice read-out of what to upgrade. -Andy -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Kevin Oberman Sent: Monday, October 07, 2002 5:34 PM To: Chris Snyder Cc: questions@FreeBSD.ORG Subject: Re: Proper way to upgrade packaes from ports > 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 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?001301c26e4f$737ba530$6501a8c0>