Portupgrade troubles, interactive ports

Kris Kennaway kris at obsecurity.org
Wed Mar 17 14:45:27 PST 2004


On Wed, Mar 17, 2004 at 02:50:54PM -0700, SIMON TIMMS wrote:
> Hi there,
> I use to run portupgrade and when it ran into an interactive port
> (like php) it would sit and wait for my input before continuing.
> This worked fine and I didn't mind having to keep a bit of an eye on
> portupgrade.  However now when I run portupgrade (portupgrade -ra)
> it stalls when it runs into an interactive port.  I can't enter any
> input and ctrl-C/ctrl-z do nothing.  I end up killing the process
> from another terminal.  I have tried this over ssh and also from the
> console.

1) Please wrap your lines at 70 characters so your emails may be easily read.

2) Set the BATCH environment variable before running portupgrade to
skip interactive ports.  You can then go and build the interactive
ports all at once by setting the INTERACTIVE variable.

This and other control settings are documented in the
/usr/ports/Mk/bsd.port.mk file.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040317/6b6a7268/attachment.bin


More information about the freebsd-questions mailing list