[Solved] pkg delete automatically deletes ALL packages that depend on targets

user426 Asks: pkg delete automatically deletes ALL packages that depend on targets
System : NomadBSD 130R-20210508 (latest) clean install , based on FreeBSD 13.

FreeBSD Manual states :

If the set of packages to be deleted would leave installed packages with unfulfilled dependencies, pkg delete will emit an error message and quit without deleting anything unless forced to proceed by the -f option.

However, in my case, deleting any package via pkg delete or pkg remove or octopkg > right-click > remove > apply that has other packages depend on it causes all depending packages to be removed too (without warning in octopkg).

As I was deleting 100+ packages, this caused pretty much all packages to be removed/broken.

To replicate the above problem, get/install NomadBSD, and simply run sudo pkg delete perl5 -y (because everything seems to depend on Perl and it seems to remove even Xorg).

How can I revert to normal FreeBSD behaviour where if the package is a dependancy then it should simply fail ?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.