portupgrade dialogs...
RW
list-freebsd-2004 at morbius.sent.com
Tue Jan 4 08:47:55 PST 2005
On Tuesday 04 January 2005 12:21, Daniel Bye wrote:
> On Tue, Jan 04, 2005 at 12:24:43PM +0100, Christian Tischler wrote:
> > Hi,
> > when I run portupgrade to get my server up to date (CVS of
> > 4.9-Release), everything works fine and smooth, until any of the ports
> > pops up an dialog and asks me what I want to compile in (e.g. cups
> > asking me about what drivers I want to install and so on).
> >
> > Now my question: Is there a way to work arround this? As my server does
> > not have a very decent CPU updating takes quite some time, and I do not
> > sit in front of my terminal all the time :-) and due to the dialogs
> > waiting for my input the update is running for three days by now...
> >
> > So any suggestions?
>
> In addition to what Stijn and Kent have already said, you can override
> the defaults by setting an appropriate value in MAKE_ARGS in
> /usr/local/etc/pkgtools.conf. For example, I have this set for Samba:
>
> MAKE_ARGS = {
> 'net/samba*' => [
> 'BATCH=yes',
> 'WITH_UTMP=yes',
> 'WITH_SYSLOG=yes',
> 'WITHOUT_CUPS=yes',
> 'WITH_RECYCLE=yes',
> ],
> }
>
> At each subsequent upgrade, the configured set of options will be passed
> to the ports system.
From man ports
BATCH If defined, only operate on a port if it can be installed
100% automatically.
So you may find that not all your ports are upgraded.
More information about the freebsd-questions
mailing list