Quote:
Originally Posted by bashrules
When you install a package all of its dependencies are also installed.
|
Same as with FreeBSD's
pkg_add -r package command, You probably confused FreeBSD with Slackware which package management system does not resolve dependencies, all BSDs have dependency resolving mechanisms in their package systems.
Quote:
If you uninstall that package, you have then all these useless dependencies on the disk.
|
Maybe in Debian, here the only things that are left are THE THINGS THAT YOU HAVE CREATED, like configuration files.
Quote:
Originally Posted by bashrules
On debian, you can de-install such "stale" dependencies with one command. You can't do that with pkgsrc or ports, can you?
|
Yes, we can!
Check these ports/packages:
http://freshports.org/ports-mgmt/pkg_cleanup/
http://freshports.org/ports-mgmt/pkg_cutleaves/
http://freshports.org/ports-mgmt/pkg_rmleaves/
There are also graphical frontends (QT/GTK) for packages management:
http://1freshports.org/ports-mgmt/bxpkg/
http://freshports.org/ports-mgmt/qtpkg/
Check also the
ports-mgmt category, ot offers a lot useful tools for packages and Ports management:
http://freshports.org/ports-mgmt/