> Date: Mon, 24 Aug 2009 12:54:54 -0700
> From: Doug Barton <do...@freebsd.org>
> Sender: owner-freebsd-sta...@freebsd.org
> 
> Nenhum_de_Nos wrote:
> > hail,
> > 
> > portmaster is great, but this is keeping me from using it.I want to fire a
> > portmaster -af and let it there until its done. for every package it asks
> > this. is ther any way to make it not ask ? delete and go ahead ?
> 
> You really want to read the man page thoroughly before you begin using
> portmaster. I've taken a lot of time to try and explain how it works
> in the man page, and what your options are. In particular, you
> probably do not really want to use the -f option on a regular basis
> since that does not do what it does in portupgrade. In portmaster
> using '-af' would rebuild all of your ports, not just the ones that
> need upgrading.
> 
> It sounds to me like what you're seeing is portmaster asking whether
> or not you want to delete the distfiles after an upgrade. The easiest
> way to deal with that is to use '-aD' and then when it's done use
> either --clean-distfiles or --clean-distfiles-all. Once again, see the
> man page for more information on those options.

Just in case someone reads this and tries 'portupgrade -af', it also
will re-build all installed ports, whether they need upgrading. This is
the command to re-build ALL ports when the library versions get bumped
(as they did recently for 8.0BETA).

To just update the ports that need updating, the command is 'portupgrade
-a', probably the same as in portmaster.

In either case (portupgrade or portmaster), read the man pages BEFORE
shooting yourself in the foot. Both can certainly do that.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net                  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to