Hello all,
I’m facing an issue with exim4 package during apt upgrade. But first some background info:
- Installed Hestia on Ubuntu 18.04 LTS. By mistake I used the master branch (
wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/install/hst-install.sh
) instead of the release. - I selected NOT to install exim4 with the command line option
--exim no
. - Some days later I ran
apt update && apt upgrade
and to be honest I just tapped on Y when asked about the upgrade, without taking note of the exact message - Afterwards, I started to have the following problem
Setting up exim4-config (4.90.1-1ubuntu1.3) …
2019-08-23 17:28:33 Exim configuration error in line 39 of /var/lib/exim4/config.autogenerated.tmp:
main option “acl_smtp_mime” unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg: error processing package exim4-config (–configure):
installed exim4-config package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of exim4-base:
exim4-base depends on exim4-config (>= 4.82) | exim4-config-2; however:
Package exim4-config is not configured yet.
Package exim4-config-2 is not installed.
Package exim4-config which provides exim4-config-2 is not configured yet.dpkg: error processing package exim4-base (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4:
exim4 depends on exim4-base (>= 4.90.1-1ubuntu1.3); however:
Package exim4-base is not configured yet.
exim4 depends on exim4-base (<< 4.90.1-1ubuntu1.3.1); however:
Package exim4-base is not configured yet.dpkg: error processing package exim4 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
exim4-daemon-light depends on exim4-base (>= 4.90.1); however:
Package exim4-base is not configured yet.dpkg: error processing package exim4-daemon-light (–configure):
dependeNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report
written because MaxReports is reached already
ncy problems - leaving unconfigured
Errors were encountered while processing:
exim4-config
exim4-base
exim4
exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)
What should I do to rectify this? I can provide the full dpkg.log if needed.
I wouldn’t like to have exim4 installed on this server. But if the only way to fix that is by installing it, I wouldn’t mind that much (I would just block the ports in Firewall).