From owner-freebsd-questions@FreeBSD.ORG Fri May 6 01:37:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65C2E106566B for ; Fri, 6 May 2011 01:37:01 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 272618FC16 for ; Fri, 6 May 2011 01:37:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p461b0qc028814; Thu, 5 May 2011 19:37:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p461b0Tu028811; Thu, 5 May 2011 19:37:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 5 May 2011 19:37:00 -0600 (MDT) From: Warren Block To: Antonio Olivares In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 05 May 2011 19:37:00 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2011 01:37:01 -0000 On Thu, 5 May 2011, Antonio Olivares wrote: > Dear all, > > I was running FreeBSD 8.1 and am in the process of updating it > following advice in handbook: > > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html > > ran > # freebsd-update fetch > # freebsd-update install > > # portupgrade -af > > # freebsd-update -r 8.2-RELEASE upgrade > > then > > # freebsd-update install > > Tried to do this: > # portupgrade -f ruby > # rm /var/db/pkg/pkgdb.db > # portupgrade -f ruby18-bdb > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > # portupgrade -af > > Did not work correctly[too many customizations] and Tried again portupgrade is written in Ruby and uses ruby-bdb, so this may not work. -f is of questionable value. Why not just cd to the port directories, and 'make clean build deinstall install'? > # freebsd-update install > > and had nothing more to do :( > > I had many packages that need to be updated so I am running : > > # portupgrade -arRp -a is equivalent to -arR. And that's building packages, which is not necessary unless you want to copy them to another machine. > will this prompt me for customizations? Options menus? Yes, the ports will ask on their own. If you use the -c or -C options, portupgrade will do all of them at the start of the process.