[Pkg-exim4-users] how to recover exim4 after upgrade from etch to?lenny
Andreas Metzler
ametzler at downhill.at.eu.org
Mon Mar 9 19:03:45 UTC 2009
Jutta Zalud <ju at netzwerklabor.at> wrote:
[...]
> Then I thought, I could just uninstall + purge exim4 to get rid of the
> offending config-files, *but* dpkg would also have removed smokeping
> because of an unmet dependency. So I installed postfix, which saved
> smokeping and removed exim4 automatically, but without --purge.
> So I guess, the only possibility to install exim4 again, is to remove
> the config files manually, but I am not sure which ones I have to
> remove, as there are so many (see below).
> Do I have to remove just /etc/exim4 and /etc/exim4-debian or also the
> files in /etc/default/ /etc/cron.daily/ etc?
> Or is there any other way to make exim4 function again?
[...]
The easy/dirty way to start fresh, without needing to temprarily
install postfix:
apt-get --purge install exim4
/etc/init.d/exim4 stop
dpkg --force-depends --purge exim4-config
dpkg -i /var/cache/apt/archives/exim4-config_4.69-9_all.deb
This is probably not what you want. The main thing you'll need to is
take (a copy of) /etc/exim4/exim4.conf.template.dpkg-dist, re-apply the
local modifications present in /etc/exim4/exim4.conf.template and
install this modified file in /etc/exim4/exim4.conf.template. If this
is not enough repat for tghe other files with .dpkg-new files.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Pkg-exim4-users
mailing list