Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 20:41:18 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        bdrewery@FreeBSD.org, freebsd-ports@freebsd.org, portmgr@FreeBSD.org
Subject:   Re: Strange pkg_deinstall behaviour with pkgng
Message-ID:  <20140729184118.GG68875@ivaldir.etoilebsd.net>
In-Reply-To: <53D7C1E0.1000204@netfence.it>
References:  <53D69662.6020503@netfence.it> <53D7C1E0.1000204@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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