From owner-freebsd-ports@FreeBSD.ORG Tue Jul 29 23:43:22 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AEDD7B7 for ; Tue, 29 Jul 2014 23:43:22 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D73FE272B for ; Tue, 29 Jul 2014 23:43:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s6TNhLlU003923 for ; Tue, 29 Jul 2014 23:43:21 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s6TNhLLu003922 for freebsd-ports@freebsd.org; Tue, 29 Jul 2014 23:43:21 GMT (envelope-from bdrewery) Received: (qmail 32265 invoked from network); 29 Jul 2014 18:43:17 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 29 Jul 2014 18:43:17 -0500 Message-ID: <53D8318E.6030506@FreeBSD.org> Date: Tue, 29 Jul 2014 18:43:10 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Andrea Venturoli , freebsd-ports@freebsd.org Subject: Re: Strange pkg_deinstall behaviour with pkgng References: <53D69662.6020503@netfence.it> <53D7C1E0.1000204@netfence.it> <53D7C312.1020000@FreeBSD.org> In-Reply-To: <53D7C312.1020000@FreeBSD.org> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NWhbGoffIlEMR2n4JHMDfUUQMNLbpiIUG" Cc: portmgr@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2014 23:43:22 -0000 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--