Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 09:52:43 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg delete --no-recursive
Message-ID:  <55070A5B.80201@networktest.com>
In-Reply-To: <5502A4A0.8090704@freebsd.org>
References:  <wu7vbi5e201.fsf@banyan.cs.ait.ac.th> <5502A4A0.8090704@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/13/15 1:49 AM, Matthew Seaman wrote:
> On 03/13/15 08:27, Olivier Nicole wrote:
>> How to tell pkg delete to remove only *this* package and not all
>> the ones that depends on it.
> 
> pkg delete -f pkgname
> 
>> There is a --recursive option, but it is applied by default and I
>> don't see how to disable it.
>> 
>> My goal is to remove perl5.14 in order to install perl5.20. All
>> other packages that depend on perl5.14 will be rebuild afterward,
>> so the dependecy will be updated accordingly.
>> 
>> But in no case I want to delete all packages depending on perl, I
>> *do* need them.
> 
> 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?

I also have the same problem upgrading php5 and php55 to php56.

Thanks

dn


> 
> Trying to work out all this dependency stuff by hand tends to be 
> error-prone, tedious and leave your system in a bit of a mess.
> 
> Cheers,
> 
> Matthew
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJVBwpbAAoJEDoYs7vtFALaNyMQAJtLwAp2PChzENYX6d3KObPk
VKHeSDH3fnKHDCjN1m4/JAJD3HqifbI/B4oi8JHpq58l9Nj77IeE/aumV24qZ+zx
3gM7FC7CsEr0ZKSwAg3Wlv5Xwn73Fabnqgp+nnv4hQwiHlnq51PV/mElUxB8V+Pd
IXTvMjDMvKL3GccvlgLzvLYC9Wg4Yyab0SN1tM8IQha/E4Mvv88jNXYqYIaQgCuh
OYYDS/Mo6ShherqoYeYvFbzM/0rJ+Gzc1xD22YroZJFMvMj26DX7KQihKIv3Cjct
2HUxde49edV5AFJk+IxzQDmgFvD0BXwwvYTpSKbMaaBKmJyFeDI/VmbAy1j/KB/v
i6eu/3GdR/E75F56IfJgA6Moq9Vz9JTPM61rpIHdA0Em1iAgUGab5XZHuaUhmiij
S3oQZULLEAIP0Pd1DwXtrlU2k+YCbPMsTYl5oaaQLcbi4xVlgMAEcdWTFHXFatdL
5eAVUeM2Zi90WHPsf4TRu62Gq4ZMrx5rXpvxpS/ExiiJasfN8HEvJh320B2FLvkd
V58E+n0aj2lGDrSkL4sjsY2+PDoPJrzdoyUewep27ASmDw6Z+ZSbU68h28b8J1Zx
KC+5n31yfkwTaaIWccsZ7QW4290C1yFQLAcLK09ovm04CTGOYrskfIIpkHXzsp+h
iHfhZIWtp1lq2AS5mpYs
=JUiq
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55070A5B.80201>