Date: Thu, 31 May 2012 21:53:59 +0700 From: Adam Strohl <adams-freebsd@ateamsystems.com> To: Damien Fleuriot <ml@my.gd> Cc: freebsd-stable@freebsd.org Subject: Re: Why Are You Using FreeBSD? Message-ID: <4FC78607.90007@ateamsystems.com> In-Reply-To: <4FC7846F.7040307@my.gd> References: <C480320C-0CD9-4B61-8AFB-37085C820AB7@FreeBSD.org> <4FC779C0.7020801@ohlste.in> <4FC77EAD.1090900@my.gd> <4FC78087.2000004@ateamsystems.com> <4FC7846F.7040307@my.gd>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC78607.90007>