Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 08:49:36 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg delete --no-recursive
Message-ID:  <5502A4A0.8090704@freebsd.org>
In-Reply-To: <wu7vbi5e201.fsf@banyan.cs.ait.ac.th>
References:  <wu7vbi5e201.fsf@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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.
>=20
> 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.

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



--hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVAqSgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn2PsQAKZNjV5mUTdYDVAW+iMbbQOR
tGvd2CdB/eVfxykuqEFSX8w14NqH1bz+TaJCCIx6S6dKq9FtL9YlAoKHSk9/Y3LI
ne2Bgr+OYrYQuI2aL4XV1JjWsSuJJ8nlfpAxAylNNah+TBqoK4UiBWx8KAXWW8Cm
pTDGi0IoarJlIjSPyVpDn+Avpg5XJDDGHBfuuye/YgFjD9hYOBVVg21rRBnrMa6H
PtjO2oIlOuLq+ggmCSnxUQDAgtUlMopFVDryL+eYHJsVhTNsTRErb7raiT/Jj/Bg
sRW+eLb58fjzpUbblsju71MQCGQZCchOGLR6eWTJJuq9jrPv5owth9CXr3qkGKQB
RJL2gcqcPN32NL1XkPSG4yrAp78Fnl+dukt2mqZjodP3ECEJxpN5ZTBrn1WCm7U4
JPNeRsMCsaMUSgTc1lrmsb7n97U5euXVs97JCHkdNbop1cDBorUIyNcFpu9NDTj5
VLjBKl77lvgwLMapisfM2krLQ5SHaH5d0Hm9NovrKdC7LTyJbzWHGj0gT0vyqQ+8
/lTDar1yRqdsh3nbHcjR6Ix5f9vwWNkb2ID6IslwLDNDvaQyxU3QWtKZE8MAMk/2
Cl5rUQX9C+cCqCozMpbF1YtZ4ri/reLIsEbx5LPUupAMLIMsEBOfpKEgancOx0OT
6YlAVQtUl+gm8os5JlhM
=KA6n
-----END PGP SIGNATURE-----

--hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5502A4A0.8090704>