portupgrade, afterwards

Daniel Bye danielby at slightlystrange.org
Mon Mar 9 14:25:42 PDT 2009

On Mon, Mar 09, 2009 at 02:03:59PM -0700, gahn wrote:
> Hi all:
> Where is the result of "portupgrade -fa" stored at? it showed a bunch files didn't go through or failed. just wondering whether I can take look at the results after I rebooted the server.

If that's exactly how you ran portupgrade, then I'm afraid you won't have
any log info anywhere.

You need the -L flag to portupgrade, which takes a printf(3) style
format string (see man portupgrade for an example of how to use it), 
or you can run portupgrade in a script(1) session, something like this:

 # script /var/log/portupgrade.log portupgrade -fa

Note that this approach will log ALL output generated by portupgrade, 
stderr and stdout, so the log file will get large.


Daniel Bye
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/ef901cff/attachment.pgp

More information about the freebsd-questions mailing list