Whats the command to remove and package and all its dependencies?
If you mean by dependencies all packages that depend on foo, you can use
sudo apt-get remove foo
This can remove *very* many packages, because it traverses the whole dependency tree.
If you mean all packages that foo depends on, your best bet is to look at the list of those files using, for example
apt-cache show foo | grep Depends or dpkg -p foo | grep Depends
and then to remove them manually. This cannot be made completely automatic, because there can be alternative dependencies. Then there are indirect dependencies, of course, dependencies of dependencies.
If you "just" want to remove all packages that were installed because of the installation of foo, again this is not possible automatically, because it depends on choices you made during installation and on what packages were already installed. If you installed from source, you can list your compiled packages chronologically with
ls -lLt /sw/fink/debs
and look at those created just prior to foo_version-revision_darwin-powerpc.deb. They are good suspects for having been installed because of foo.
If you want to see the complete dependency "tree" (often more like a pile of spaghetti) of package foo, you can use
apt-cache dotty foo
and if you want to visualize it graphically, install the graphviz package and do
apt-cache dotty foo > foo.dotty dotty foo.dotty
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
