From owner-freebsd-ports@FreeBSD.ORG Tue Jul 29 18:41:25 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 018FB8E9; Tue, 29 Jul 2014 18:41:25 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41F302438; Tue, 29 Jul 2014 18:41:24 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id bs8so1032545wib.8 for ; Tue, 29 Jul 2014 11:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=04lh7FCqAozyN9iaMq1AM02CYvKm0+/ATo7XgLFrAs4=; b=MJVaCT6NQUfI/0AVtCduioyJNwO9Xa2UqXJmHW4DL2mE5PjQjr/urWViI0+nW/mQSf Efs9U+uuBWK6IpzeHEKK90mxKHjO6qFMU8YinVYCrvSOQhotUEBSPTHO6mBSqwwHCbu7 4444wi5RzvzQvQD0hGZ7+VTRa4+lVtCBS+y6sFBFLXvKvI1ppp0iKPO7SekrBOoqEglX MS2WacDfVe70SQTB7AUJlvymm3hg/EZIBNXNEC2XcGhzZwnc2MRD/8W2k4LJ/MnpGK77 sYJHmT72DGfQxeA4JuoC/f4IP8G25+cwcEMs9cys/4cslZP1EAszpW/zKIUJX+bkaSix x1Zg== X-Received: by 10.194.9.228 with SMTP id d4mr5689739wjb.99.1406659282140; Tue, 29 Jul 2014 11:41:22 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id bx2sm59366568wjb.47.2014.07.29.11.41.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jul 2014 11:41:21 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 29 Jul 2014 20:41:18 +0200 From: Baptiste Daroussin To: Andrea Venturoli Subject: Re: Strange pkg_deinstall behaviour with pkgng Message-ID: <20140729184118.GG68875@ivaldir.etoilebsd.net> References: <53D69662.6020503@netfence.it> <53D7C1E0.1000204@netfence.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eVzOFob/8UvintSX" Content-Disposition: inline In-Reply-To: <53D7C1E0.1000204@netfence.it> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: bdrewery@FreeBSD.org, freebsd-ports@freebsd.org, 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 18:41:25 -0000 --eVzOFob/8UvintSX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 05:46:40PM +0200, 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 foo > > 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. >=20 > After some investigation, this broke after the upgrade to pkg 1.3, in=20 > which *by default* "pkg delete" seems to be the same as "pkg delete -R". >=20 > From what I can tell, there is no flags to "pkg delete" which makes it= =20 > act as it used to and as portupgrade expects, so I cannot easily fix it. >=20 pkg delete -f is not recursive regards, Bapt --eVzOFob/8UvintSX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPX6s4ACgkQ8kTtMUmk6ExHhgCcCenSsXW9fWzETB+8q4Y31zXa TZAAn0I7/Ne0NulQEJuyjGNySCngz/rX =iC0C -----END PGP SIGNATURE----- --eVzOFob/8UvintSX--