opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-stable@freebsd.org 31 May 2012 • 10:53PM -0400

Re: Why Are You Using FreeBSD?
by Adam Strohl

REPLY TO AUTHOR
 
REPLY TO GROUP





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.
_______________________________________________
freebsd-stable@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.