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

Andreas Metzler ametzler at downhill.at.eu.org
Wed Dec 26 12:44:41 UTC 2012


tags 581171 wontfix
thanks

On 2010-05-11 Colin Darie <colindarie at gmail.com> wrote:
> Package: exim4-config
> Version: 4.71-4
> Severity: normal

> 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.


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
-- 
`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-maintainers mailing list