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

Re: aptitude vs. debfoster



On Thu, Aug 31, 2006 at 18:23:08 +0200, T wrote:
>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. 

Been there, done that ;) http://therning.org/magnus/archives/132

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Finagle's First Law:
To study a subject best, understand it thoroughly before you start.

Attachment: pgpbhaZOb8bxp.pgp
Description: PGP signature


Reply to: