View Single Post
Old 11th June 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by bashrules View Post
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 View Post
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/
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote