From owner-freebsd-stable@FreeBSD.ORG Mon Aug 24 20:47:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46A96106568B; Mon, 24 Aug 2009 20:47:00 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail4.es.net [IPv6:2001:400:6000:6::2]) by mx1.freebsd.org (Postfix) with ESMTP id EC9738FC18; Mon, 24 Aug 2009 20:46:59 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n7OKkj8Z029774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 24 Aug 2009 13:46:47 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 681881CC09; Mon, 24 Aug 2009 13:46:45 -0700 (PDT) To: Doug Barton In-reply-to: Your message of "Mon, 24 Aug 2009 12:54:54 PDT." <4A92F00E.1040705@FreeBSD.org> Date: Mon, 24 Aug 2009 13:46:45 -0700 From: "Kevin Oberman" Message-Id: <20090824204645.681881CC09@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-08-24_10:2009-08-11, 2009-08-24, 2009-08-24 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0907200000 definitions=main-0908240152 Cc: freebsd-stable@freebsd.org, Nenhum_de_Nos Subject: Re: portmaster not ask for port deletion X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:47:00 -0000 > Date: Mon, 24 Aug 2009 12:54:54 -0700 > From: Doug Barton > 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