pkg delete --no-recursive
dnewman at networktest.com
Mon Mar 16 21:49:15 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
On 3/16/15 10:39 AM, Matthew Seaman wrote:
> On 2015/03/16 16:52, David Newman wrote:
>>> The best way to do a perl5.14 to perl5.20 upgrade is by simply
>>>> upgrading from a package repo with all the perl stuff built
>>>> against perl5.20. Works like a charm, and only reinstalls the
>>>> necessary stuff.
>> What command(s), specifically, to use?
> pkg upgrade
> So long as the repo(s) you're using are all consistent in being
> built against the versions of perl or php or whatever that you want
> to use, that should do what you want. Generally it "just
> works"(tm). If it doesn't and it isn't obvious as to how to fix
> the problem (usually something along the lines of 'delete pkg X,
> upgrade everything else, reinstall pkg X') then ask again here.
OK, I'll take you up on that. :-)
I've got a FreeBSD 10.1-RELEASE box with 25 php55 packages installed.
There's nothing about php in /etc/make.conf, and according to
/usr/ports/UPDATING, the current default version of php is 5.6.
However, 'pkg update && pkg upgrade' doesn't touch the php packages.
I don't particularly _need_ php56* on this box, but I'd like to
understand what the expected behavior is.
pkg(8) will tell you what it is
> going to do before it does anything, so you have plenty of chances
> to stop before you trash anything important.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
-----END PGP SIGNATURE-----
More information about the freebsd-questions