From owner-freebsd-questions@FreeBSD.ORG Fri May 6 16:36:08 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 A0AFB1065678 for ; Fri, 6 May 2011 16:36:08 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2A97B8FC0A for ; Fri, 6 May 2011 16:36:07 +0000 (UTC) Received: by bwz12 with SMTP id 12so3858812bwz.13 for ; Fri, 06 May 2011 09:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eHaQyVZLLItKCg2BUFruSiWDMUJ1YlVd6slMNdt3xGE=; b=I4LBI8A8loIucdaiGVboaw64qoF4MSIEp5TR4IIGcPNxAWmIBMy71E59wCFPgAt66h gnneLuSM7Pv/rT17B9NYWjsair/kZLOxUDA2aS76qshqhC890uACsiT91AKoh84Z3X0x BzgVeRZk6TEkEIQKBeF0MIX43jKIcsI5cG4q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GdaifVEY2yQjy2awxAXq5Q7hIEiKye1e7pLwwzYbslsecLWUeOjVenZzDPa3O2k6Dw +lGhh7fE3GNlP5uewK8NP3ZCYCJ89EXSDUkxeD0dwbKLSDHJUelUjxyrff253JgI9/zI vpRFvNkMtl4NCAtYsDT8MuFm1miXN6+W5U5jM= MIME-Version: 1.0 Received: by 10.204.154.74 with SMTP id n10mr1575931bkw.33.1304699767118; Fri, 06 May 2011 09:36:07 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Fri, 6 May 2011 09:36:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 May 2011 11:36:07 -0500 Message-ID: From: Antonio Olivares To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 16:36:08 -0000 On Thu, May 5, 2011 at 8:37 PM, Warren Block wrote: > 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.htm= l >> >> 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. =A0Why not just cd to the port directories, and > 'make clean build deinstall install'? This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? > >> # 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. =A0And 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? =A0Yes, the ports will ask on their own. =A0If you use the= -c or > -C options, portupgrade will do all of them at the start of the process. > Thanks, Antonio