#581171 dpkg-reconfigure exim4-config fails if /etc/exim4 directory does not exist

#581171#5
Date:
2010-05-11 10:36:16 UTC
From:
To:
For some reasons, I needed to start with a fresh config so I moved away my
/etc/exim4 directory to start with a completely new one. I discovered that
running `dpkg-reconfigure exim4-config` fails if the /etc/exim4 doesn't exist :

# dpkg-reconfigure exim4-config
find: "/etc/exim4": Aucun fichier ou dossier de ce type
find: "/etc/exim4": Aucun fichier ou dossier de ce type
/var/lib/dpkg/info/exim4-config.postinst: 392: cannot create
/etc/exim4/update-exim4.conf.conf: Directory nonexistent

It's not really an issue for me, but I think that could be useful if we could
reconfigure exim4 without an existent /etc/exim4 directory.

#581171#10
Date:
2012-12-26 12:44:41 UTC
From:
To:
tags 581171 wontfix
thanks


Hello,

the configuration needs the contents of /etc/exim4 (notably either
/etc/exim4/conf.d/* or /etc/exim4/exim4.conf.template) to generate a
working configuration file.

Use
apt-get -o DPkg::Options::="--force-confmiss" --reinstall install exim4-config
to re-install the missing files.

cu andreas