Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2009 13:46:45 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org, Nenhum_de_Nos <matheus@eternamente.info>
Subject:   Re: portmaster not ask for port deletion 
Message-ID:  <20090824204645.681881CC09@ptavv.es.net>
In-Reply-To: Your message of "Mon, 24 Aug 2009 12:54:54 PDT." <4A92F00E.1040705@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 24 Aug 2009 12:54:54 -0700
> From: Doug Barton <dougb@FreeBSD.org>
> Sender: owner-freebsd-stable@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: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



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