Luis Useche wrote: > It seems like an additional information should be added to the package > database. A bit indicating if the package was installed manually by > the user (admin?) or not. Then, the package can only be deleted if the > the user explicitly say so as oppose to "automatic deletion as > dependency".
That might be a solution if you're stricly using package/ports. But consider what happens when you manually build and install other programs that came in the form of plain old source code tarballs (make && make install, etc.) Most of these programs will have library dependencies and some of those libraries will have already been installed as dependencies of "official" packages. If you remove the whole shebang (a package and all its unique deps) then your custom-built programs won't find some of their libs anymore...