I'm new to freebsd (typically a Gentoo user) and I'm having issues with pkg_cutleaves.
Every time I run it (I do so with the -l option just to see what it would like to do) it always lists packages I've installed (such as xorg-server) among the list to remove. I can remedy this by putting these packages in an 'exclude' file, but the trouble is, pkg_cutleaves still wants to uninstall all the dependencies of those packages. I thought it was supposed to check for them?
Am I missing something? Also, is there a way to automatically add packages to your exclude file? (if you've used Gentoo before, like what emerge does with adding packages to the 'world' file?)
I'm basically trying to run the equivalent of 'emerge --depclean' that gentoo has.
Every time I run it (I do so with the -l option just to see what it would like to do) it always lists packages I've installed (such as xorg-server) among the list to remove. I can remedy this by putting these packages in an 'exclude' file, but the trouble is, pkg_cutleaves still wants to uninstall all the dependencies of those packages. I thought it was supposed to check for them?
Am I missing something? Also, is there a way to automatically add packages to your exclude file? (if you've used Gentoo before, like what emerge does with adding packages to the 'world' file?)
I'm basically trying to run the equivalent of 'emerge --depclean' that gentoo has.