Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 18:43:10 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>, freebsd-ports@freebsd.org
Cc:        portmgr@FreeBSD.org
Subject:   Re: Strange pkg_deinstall behaviour with pkgng
Message-ID:  <53D8318E.6030506@FreeBSD.org>
In-Reply-To: <53D7C312.1020000@FreeBSD.org>
References:  <53D69662.6020503@netfence.it> <53D7C1E0.1000204@netfence.it> <53D7C312.1020000@FreeBSD.org>

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

On 7/29/2014 10:51 AM, Bryan Drewery wrote:
> On 7/29/2014 10:46 AM, Andrea Venturoli wrote:
>> On 07/28/14 20:28, Andrea Venturoli wrote:
>>> Hello.
>>>
>>> I was forced to switch to pkgng on a 9.2 box and I'm now noticing a
>>> strange behaviour.
>>>
>>> Before, "pkg_deinstall -R foo" would deinstall foo and all ports on
>>> which foo depended, except those who were needed by other ports.
>>>
>>> Now, "pkg_deinstall -R foo" will deinstall foo, all ports on which fo=
o
>>> depends and all ports depending on the ports on which foo depends.
>>>
>>> E.g.
>>> Port A depends on B
>>> Port B depends on C
>>> Port D depends on C
>>>
>>> With the old behaviour, "pkg_deinstall -R A" would deinstall A and B
>>> (but not C).
>>> Now it will deinstall A, B, C and D.
>>
>> After some investigation, this broke after the upgrade to pkg 1.3, in
>> which *by default* "pkg delete" seems to be the same as "pkg delete -R=
".
>=20
> Yes, pkg now requires -f to have the old behavior. I'll update
> portupgrade for it.

I have released a quick hack to workaround this by passing in -f. I may
rework it later though and keep the new behavior. pkg_deinstall/pkg_glob
already supports using -f optionally.

--=20
Regards,
Bryan Drewery


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJT2DGOAAoJEDXXcbtuRpfPClAH+gI7WfPi/Z0f4Xs7+QGcKmY9
DnjMrapEAD5qTL4S2CfA81HMj3nuboXMRKkNz7SkJAicA1DVKXJ4SFfu9lubgM5t
VAznwyo1B0qsrDj6vP4m99S6y9lPP3J5/o8ADqqyw+G+B0glRIr4Ehc4Tt1qEFJP
dfTZjYsAUjDLMCuIBeZreofD+FG7W7b4LTzQnre7RIK9nIgD/3L1DjhYwBgL+But
7RtylOH+Wmv+1IUTHmgzTjsSDF4F0QPQjQ+KJqQyRLcwmST3vMM3Xv+/AIZt3+zv
xDWpmY14oY+MYrmN8GQ2j86r684LQdYZEtDzrw4Xu+wtoNGgGjR7Q7a73cIc9b4=
=KaJL
-----END PGP SIGNATURE-----

--NWhbGoffIlEMR2n4JHMDfUUQMNLbpiIUG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53D8318E.6030506>