From owner-freebsd-questions Tue Dec 25 16:21:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id F222537B416 for ; Tue, 25 Dec 2001 16:21:21 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id fBQ0LId21909; Tue, 25 Dec 2001 16:21:18 -0800 (PST) Message-Id: <200112260021.fBQ0LId21909@ptavv.es.net> To: "F. Xavier Noria" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Basic question on using portupgrade In-reply-to: Your message of "26 Dec 2001 01:03:50 +0100." <1009325032.85850.0.camel@conway.localdomain> Date: Tue, 25 Dec 2001 16:21:18 -0800 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "F. Xavier Noria" > Date: 26 Dec 2001 01:03:50 +0100 > Sender: owner-freebsd-questions@FreeBSD.ORG > > I am learning to keep ports up-to-date with portupgrade and am > not sure about when one should use the -R or -r flags. > > The documentation explains what they do, but given an outdated > port on what basis does one decide that -r or -R must be used? > For instance, let's suppose portversion | grep '<' gives > > imlib < > ispell < > jpeg < > libglade < > > Those are libraries and programs, what would you take into account > or what information would you consult to know if -r or -R need to > be used for each of them? FWIW, I have never seen any reason to NOT run with -Rr. I'm not sure why these are not the defaults, though. I tend to rebuild the more fundamental libraries first and let them take care of the user-level apps, but YMMV. There is no clear advantage to doing it that way over doing it the other way around. The -f option is useful when something won't build, but it can take a long, long time to rebuild all the dependency stuff in both directions. Only for use when you have real reason to think some packages may be messed up and all else fails. (If nothing else, it's almost certain to rebuild XFree86 for anything slightly graphical in nature. 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