Date: Fri, 6 May 2011 09:06:47 -0500 From: Antonio Olivares <olivares14031@gmail.com> To: Frank Shute <frank@shute.org.uk> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts? Message-ID: <BANLkTimp0wuQgeHk=S77JjGVNj1EX0GSsg@mail.gmail.com> In-Reply-To: <20110506010434.GB60942@orange.esperance-linux.co.uk> References: <BANLkTinDDSsZFFAYQ=tpLOLdu4Wfog3ZpQ@mail.gmail.com> <20110506010434.GB60942@orange.esperance-linux.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 5, 2011 at 8:04 PM, Frank Shute <frank@shute.org.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimp0wuQgeHk=S77JjGVNj1EX0GSsg>