"pkg delete -a" is supposed to delete all packages except itself. Instead, pkg 1.10.1 stops halfway, informs that it won't delete itself (which is correct) and leaves a bunch of packages still installed (which is IMHO incorrect). How to reproduce. You'd need many packages installed. pkg install x11/gnome3 x11/xorg pkg delete -a Workaround: pkg delete -af ; pkg install -y pkg
Bugzilla 219979 reports this already: This is a duplicate. 220028 was also a duplicate and was classified as such earlier. Various people are running into this in various contexts and reporting it.
*** This bug has been marked as a duplicate of bug 219979 ***