Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?

Antonio Olivares olivares14031 at gmail.com
Fri May 6 14:06:49 UTC 2011


On Thu, May 5, 2011 at 8:04 PM, Frank Shute <frank at 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


More information about the freebsd-questions mailing list