On 5/31/2012 21:47, Damien Fleuriot wrote:
Regarding packages, I've never really explored it, would you detail a bit ?
Well, I really mean the resulting pkg info from a port. A good example is PHP, sometimes you have to say "everyone out of the pool" because of an upgrade:
cd /var/db/pkg && PKGS=`ls | egrep "^(php|pear|pecl)"`; for PKG in $PKGS; do echo "---- $PKG"; pkg_delete "$PKG"; done;
Running that a few times until it stops picking things up, then its a few commands to re-install PHP and its extensions (because of the extensions roll-up port).
You can of course script it further, which is part of why I like FreeBSD so much.
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
