Strange pkg_deinstall behaviour with pkgng

Baptiste Daroussin bapt at FreeBSD.org
Tue Jul 29 18:41:25 UTC 2014


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.
> 
> 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".
> 
>  From what I can tell, there is no flags to "pkg delete" which makes it 
> act as it used to and as portupgrade expects, so I cannot easily fix it.
> 
pkg delete -f is not recursive

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140729/51a0586e/attachment.sig>


More information about the freebsd-ports mailing list