Portupgrade prompts

Mel fbsd.questions at rachie.is-a-geek.net
Wed Oct 10 10:48:20 PDT 2007

On Wednesday 10 October 2007 19:25:24 Rem P Roberti wrote:

> This has no doubt been covered before, but for some reason I am unable
> to get to the archives.  Anyway, is there a way to accept the default
> prompts that occasionally occur while doing a ports upgrade?  If I've been
> a way for a while and there are numerous ports that need upgrading there
> might be any number of prompts that occur during the upgrade process, and
> it would be nice to be able to have some way of accepting the defaults so
> that the process can carry on.  Its the pits starting the process and then
> going to bed only to find in the morning that the upgrade process hung up
> waiting for a prompt that occurred right after you left the room.  TIA.

echo BATCH=yes >>/etc/make.conf

However, it's probably better to do `make config-recursive' for each port that 
needs upgrading before starting the upgrade as it gives unexpected results if 
you've configured non-default values in a previous version.

More information about the freebsd-questions mailing list