> Try:
> pkg version -l \? | cut -f 1 -w | grep -v compat | xargs pkg delete -fy

Sorry, I forgot -o in xargs.
With -o, input of y will reach pkg.

And there is also a bit more hentai command.

sed -e s,^,`pkg info -p -q xproto`/, /usr/ports/x11/xorgproto/pkg-plist | xargs 
pkg which -q | sort -u | xargs -o pkg delete -f
# However, it ignores files that don't exist, so it exits with 1.

After this we update ports listed by pkg version -L =, the dependency tree will 
be reconnected.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to