From owner-freebsd-questions@FreeBSD.ORG Fri May 6 14:06:49 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 7BA8F1065670 for ; Fri, 6 May 2011 14:06:49 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id F3C5A8FC0A for ; Fri, 6 May 2011 14:06:48 +0000 (UTC) Received: by fxm11 with SMTP id 11so3296973fxm.13 for ; Fri, 06 May 2011 07:06:47 -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; bh=qgC3VFOPMM9quOu9mEb49n/mT6ncj/w3PUBiPASgRDk=; b=tUPJ3tGZ3fT2bg/unvzQ2SECkYZ7aZiZ2g9oL7ytkwNU+hLy02h8jEuOqMmH9EmNZp WhifSyFfdAk0+VTKh+kX2910I7zgHmPDg1zYGPFeuPC24J6G9/rm3NIC7YQ/UG5vbbOP vHlbDYy2LJt365PclAJkfrtAYJZ1MnIFNRqk4= 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; b=QMNDPI8l/giLT6wf1O8wIrA+Maw05+diPsZts8gF9NyTWV9+YtWg3lUvoXMY5LRHoa Vl/TjEXyT/v5ZHhIqMoCIXXJplJ1Cj606QrsquymYGwRaNKH1aBLYh+B68IjRgSMtJA8 qKxCfzjz9OUAuVrtzyyVQ2tBAjxwOiz9qBWcg= MIME-Version: 1.0 Received: by 10.223.53.85 with SMTP id l21mr219830fag.26.1304690807808; Fri, 06 May 2011 07:06:47 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Fri, 6 May 2011 07:06:47 -0700 (PDT) In-Reply-To: <20110506010434.GB60942@orange.esperance-linux.co.uk> References: <20110506010434.GB60942@orange.esperance-linux.co.uk> Date: Fri, 6 May 2011 09:06:47 -0500 Message-ID: From: Antonio Olivares To: Frank Shute Content-Type: text/plain; charset=ISO-8859-1 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 14:06:49 -0000 On Thu, May 5, 2011 at 8:04 PM, Frank Shute wrote: > On Thu, May 05, 2011 at 05:50:28PM -0500, 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 >> >> # freebsd-update install >> >> and had nothing more to do :( >> >> I had many packages that need to be updated so I am running : >> >> # portupgrade -arRp >> >> will this prompt me for customizations? > > Yes it will. I usually use the -C flag of portupgrade when I'm > updating ports. This flag prompts you with all the options screens > before it does the update. That way you're not left with the upgrade > hanging half way through whilst it waits for you to configure the > options. > > As Polytropon says you can use the --batch flag if you know that you > don't want to change the default options. > So I should have used the -C/c flag like # portupgrade -CarRp before or after? I have encountered a few prompts :( and not done yet. But will continue to do this till it finishes. Thanks, Antonio