On Monday 01 March 2010 16:06:59 Carlos Williams wrote:
> In Squeeze if you de-select 'every' task possible during the
> installer, you still get Exim installed because of Cron. It needs an
> MTA (Exim4).
> 
> After my fresh new system is up and running, I can install Postfix
> (which I did) and it also removes the conflicting MTA (Exim4)
> automatically:
> > r...@mail:~# apt-get -y install postfix
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > The following extra packages will be installed:
> > file libdb4.5 libmagic1 libsasl2-2 libsasl2-modules libsqlite3-0
> > mime-support openssl python python-minimal python2.5 python2.5-minimal
> > ssl-cert Suggested packages:
> > libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
> > libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal
> > ca-certificates procmail postfix-mysql postfix-pgsql postfix-ldap
> > postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader ufw python-doc
> > python-tk python-profiler python2.5-doc binfmt-support openssl-blacklist
> > The following packages will be REMOVED:
> > exim4 exim4-base exim4-config exim4-daemon-light
> 
> Sadly it leaves all this on my freshly installed system and who knows
> what else locate didn't actually find:
 
It removed the exim4 packages, but it did not purge them.  Some files from the 
packages will still be around.

> r...@mail:~# locate exim
> /etc/cron.daily/exim4-base
> /etc/default/exim4
> /etc/init.d/exim4
> /etc/logrotate.d/exim4-base
> /etc/logrotate.d/exim4-paniclog
> /etc/ppp/ip-up.d/exim4
> /etc/rc0.d/K01exim4
> /etc/rc1.d/K01exim4
> /etc/rc2.d/S02exim4
> /etc/rc3.d/S02exim4
> /etc/rc4.d/S02exim4
> /etc/rc5.d/S02exim4
> /etc/rc6.d/K01exim4
> /usr/share/vim/vim72/syntax/exim.vim
> /var/cache/apt/archives/exim4-base_4.71-3_amd64.deb
> /var/cache/apt/archives/exim4-config_4.71-3_all.deb
> /var/cache/apt/archives/exim4-daemon-light_4.71-3_amd64.deb
> /var/cache/apt/archives/exim4_4.71-3_all.deb
> /var/lib/exim4
> /var/lib/dpkg/info/exim4-base.list
> /var/lib/dpkg/info/exim4-base.postrm
> /var/lib/dpkg/info/exim4-config.list
> /var/lib/dpkg/info/exim4-config.postrm
> /var/lib/dpkg/info/exim4-daemon-light.list
> /var/lib/dpkg/info/exim4-daemon-light.postrm
> /var/lib/dpkg/info/exim4.list
> /var/lib/dpkg/info/exim4.postrm
> /var/lib/exim4/config.autogenerated
> /var/lib/update-rc.d/exim4
> /var/log/exim4
> /var/log/exim4/mainlog
> /var/run/exim4

...at least one of these files isn't part of any exim package, so your test is 
a little broken.  Even after a purge, I think log files are left behind -- 
basically anything generated by the program at run-time will be because the 
package manager doesn't track it.

How small does this list get after you run (aptitude purge '~c')?
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to