Reading warnings when installing multiple ports
m.seaman at infracaninophile.co.uk
Mon May 11 05:52:54 UTC 2009
Kelly Jones wrote:
> I often use "make -DBATCH install" to install ports.
> Problem: many ports spew out a warning/todo message after you install
> them (eg, "you must manually create an x user" or something).
> Since ports install "recursively", I miss most of these messages.
> Can I tell ports to store these messages for me somewhere?
> Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll
> log all the "install", "test", etc commands that I don't want to see:
> I just want to see the warnings at the end of each install.
portmaster will save up package messages and display them all at the
end of the session. I believe a similar feature is planned for portupgrade
but as far as I know it hasn't been released yet.
In any case, you can redisplay the pkg-message for any installed port
% pkg_info -Dx portname
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090511/f0fe18dc/signature.pgp
More information about the freebsd-questions