DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
More importantly, aptitude supports two-way dependency tracking. That is, if you install package A which requires package B, then remove package A, aptitude will check to see if anything else you've installed recently requires B. If not, it will let you know that B is now a waste of disk space and will be removed; no need to play with deborphan or debfoster. It only works if you used aptitude to install the packages in the first place, but if you just stick to aptitude then it's much easier than remembering to install debfoster on every system.
I'm pretty sure that removes dependencies as well.
It doesn't. Apt-get remove (or even purge) only removes (or purges) the original package, not dependencies. The newest version of apt adds the autoremove feature, but in a different way than aptitude (the new apt is in Unstable and Experimental, I believe, not yet in Testing or Stable). In aptitude if you remove the original package, the dependencies are automatically removed by default along with it. You only enter one command. In apt-get 7.x (the new versions), you need to enter two commands: first, apt-get remove packagename; then apt-get autoremove.
well I was having troubles with libgpod the other day (it won't read or write to ipod's properly) so I did apt-get remove libgpod and it removed gtkpod and rhythmbox too.
I guess that is the other way around. It removes programs that depend on it... nevermind then I guess.
well I was having troubles with libgpod the other day (it won't read or write to ipod's properly) so I did apt-get remove libgpod and it removed gtkpod and rhythmbox too.
I guess that is the other way around. It removes programs that depend on it... nevermind then I guess.
Right, if package x (libgpod) is required by package y (gtkpod) and you remove package x, then package y is automatically removed. But with apt-get it doesn't work the other way around.
Quote:
Originally Posted by nx5000
The only thing I haven't found is the equivalent of
apt-get source <package>
Yeah, I think that's right. Aptitude doesn't do source. It's too bad, since sometimes it's useful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.