[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

aptitude vs. debfoster



Hi

I used to use debfoster to install/uninstall packages. My recent reading
hinted that aptitude can be as smart as debfoster now. So I gave it a try. 

But I found that aptitude doesn't even come close to debfoster:

% aptitude install apache2 
The following NEW packages will be automatically installed:
  apache2-common apache2-mpm-worker apache2-utils 
The following NEW packages will be installed:
  apache2 apache2-common apache2-mpm-worker apache2-utils 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1055kB/1148kB of archives. After unpacking 3981kB will be used.

yes, work as advertised. But apt-get can do that too. Now how about
removal?

% aptitude purge apache2
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Building tag database... Done      
The following packages will be REMOVED:
  apache2{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 81.9kB will be freed.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
(Reading database ... 134497 files and directories currently installed.)
Removing apache2 ...

What? All the apache2-common, apache2-mpm-worker, & apache2-utils that get
automatically installed are not touched:

$ dpkg -l | grep apache2
ii  apache2-common 2.0.55-4.1     next generation, scalable, extendable web se
ii  apache2-mpm-wo 2.0.55-4.1     high speed threaded model for Apache2
ii  apache2-utils  2.0.55-4.1     utility programs for webservers

This is unacceptably to me. These packages should be automatically purged
as well. Or I'm doing something wrong?

The debfoster, OTOH, has never let me down on this. 

Please comment. 

thanks





Reply to: