Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 16:21:18 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        "F. Xavier Noria" <fxn@retemail.es>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Basic question on using portupgrade 
Message-ID:  <200112260021.fBQ0LId21909@ptavv.es.net>
In-Reply-To: Your message of "26 Dec 2001 01:03:50 %2B0100." <1009325032.85850.0.camel@conway.localdomain> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "F. Xavier Noria" <fxn@retemail.es>
> 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




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